5.3medium
Contao Insert tag injection in forms
- Severity
- 5.3medium CVSS:3.1 by NVD
- Exploit likelihood
- 0.82% (higher than 58% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- mitre
- Also known as
- GHSA-f7wm-x4gw-6m23
Description
Contao before 4.4.52, 4.9.x before 4.9.6, and 4.10.x before 4.10.1 have Improper Input Validation. It is possible to inject insert tags in front end forms which will be replaced when the page is rendered.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| contao/core-bundle (Packagist) | from 4.0.0 before 4.4.52, from 4.5.0 before 4.9.6, from 4.10.0 before 4.10.1 | GitHub Advisory Database |
| contao/contao (Packagist) | from 4.0.0 before 4.4.52, from 4.5.0 before 4.9.6, from 4.10.0 before 4.10.1 | GitHub Advisory Database |
| contao contao | from 4.0 before 4.4.52, from 4.9.0 before 4.9.6, from 4.10.0 before 4.10.1 | NVD |
All scores
| GitHub | 5.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
| NVD | 5.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
| NVD | 5.0medium CVSS:2.0 | AV:N/AC:L/Au:N/C:N/I:P/A:N |
Classification
What each source says
CVE List
Contao before 4.4.52, 4.9.x before 4.9.6, and 4.10.x before 4.10.1 have Improper Input Validation. It is possible to inject insert tags in front end forms which will be replaced when the page is rendered.
GitHub Advisory Database
Impact
It is possible to inject insert tags in front end forms which will be replaced when the page is rendered.
Patches
Update to Contao 4.4.52, 4.9.6 or 4.10.1.
Workarounds
Disable the front end login form and do not use form fields with array keys such as fieldname[].
References
https://contao.org/en/security-advisories/insert-tag-injection-in-forms
For more information
If you have any questions or comments about this advisory, open an issue in contao/contao.
NVD (es)
Contao versiones anteriores a 4.4.52, versiones 4.9.x anteriores a 4.9.6 y versiones 4.10.x anteriores a 4.10,1 presentan una Comprobación de Entrada Inapropiada. Es posible inyectar etiquetas de inserción en formularios del front end que serán reemplazados cuando la página es renderizada
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2020-25768 changed 2024-08-04 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-f7wm-x4gw-6m23 changed 2024-04-22 | CC-BY-4.0 |
| NVD | CVE-2020-25768 changed 2026-06-17 | Public domain |