CVE-2020-25768:
Contao Insert tag injection in forms
5.3
CVSS ScoreBasic Information
CVE ID
GHSA ID
EPSS Score
-
CWE
Published
9/24/2020
Updated
4/22/2024
KEV Status
No
Technology
PHP
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
contao/core-bundle | composer | >= 4.0.0, < 4.4.52 | 4.4.52 |
contao/core-bundle | composer | >= 4.5.0, < 4.9.6 | 4.9.6 |
contao/contao | composer | >= 4.0.0, < 4.4.52 | 4.4.52 |
contao/contao | composer | >= 4.5.0, < 4.9.6 | 4.9.6 |
contao/contao | composer | >= 4.10.0, < 4.10.1 | 4.10.1 |
contao/core-bundle | composer | >= 4.10.0, < 4.10.1 | 4.10.1 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from improper input validation (CWE-20) when processing form submissions. Contao's InsertTagParser is designed to replace specially formatted tags, but when applied to unvalidated user input from forms (particularly fields using array keys), it allows injection. The Form class's compilation process likely feeds user input into this parser. The workaround guidance to avoid array keys and frontend login forms aligns with these components being the injection vector. While exact code isn't available, Contao's architecture and vulnerability patterns strongly implicate these core form processing and insert tag handling mechanisms.