GHSA-747v-52c4-8vj8
Contao: Unencoded insert tags in the frontend
Quick fix
GHSA-747v-52c4-8vj8 — contao/core-bundle: upgrade to the fixed version with the command below.
composer require contao/core-bundle:^4.13.40Details
### 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](https://github.com/contao/contao/issues/new/choose).
Are you affected?
Enter the version of the package you're using.
Affected packages
4.0.0Fixed in: 4.13.40composer require contao/core-bundle:^4.13.405.0.0-RC1Fixed in: 5.3.4composer require contao/core-bundle:^5.3.4References
- https://github.com/contao/contao/security/advisories/GHSA-747v-52c4-8vj8[WEB]
- https://nvd.nist.gov/vuln/detail/CVE-2024-28191[ADVISORY]
- https://github.com/contao/contao/commit/388859dcf110ca70e0fae68a2a5579ab6a702919[WEB]
- https://github.com/contao/contao/commit/474a2fc25f1d84d786aba8c6d234af99e64d016b[WEB]
- https://contao.org/en/security-advisories/insert-tag-injection-via-the-form-generator[WEB]
- https://github.com/contao/contao[PACKAGE]
Check it before you install it
One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.
curl -s https://vdb.ai.kr/v1/ai/check-packages \
-H 'Content-Type: application/json' \
-d '{"packages":["pkg:composer/contao/core-bundle"]}'