GitHub Advisory Database
GHSA-747v-52c4-8vj8
Contao: Unencoded insert tags in the frontend
Details
Impact
It is possible to inject insert tags via the form generator if the submitted form data is output on the page in a specific way.
Patches
Update to Contao 4.13.40 or 5.3.4.
Workarounds
Do not output the submitted form data on the website.
References
https://contao.org/en/security-advisories/insert-tag-injection-via-the-form-generator
For more information
If you have any questions or comments about this advisory, open an issue in contao/contao.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Packagist | contao/core-bundle | From 4.0.0 before 4.13.40 (fixed in 4.13.40) |
| Packagist | contao/core-bundle | From 5.0.0-RC1 before 5.3.4 (fixed in 5.3.4) |
References
- https://github.com/contao/contao/security/advisories/GHSA-747v-52c4-8vj8
- https://nvd.nist.gov/vuln/detail/CVE-2024-28191
- https://github.com/contao/contao/commit/388859dcf110ca70e0fae68a2a5579ab6a702919
- https://github.com/contao/contao/commit/474a2fc25f1d84d786aba8c6d234af99e64d016b
- https://contao.org/en/security-advisories/insert-tag-injection-via-the-form-generator
- https://github.com/contao/contao