GHSA-2xpq-xp6c-5mgj
Contao affected by insert tag injection via canonical URL
Quick fix
GHSA-2xpq-xp6c-5mgj — contao/core-bundle: upgrade to the fixed version with the command below.
composer require contao/core-bundle:^4.13.49Details
### Impact
It is possible to inject insert tags in canonical URLs which will be replaced when the page is rendered.
### Patches
Update to Contao 4.13.49, 5.3.15 or 5.4.3.
### Workarounds
Disable canonical tags in the settings of the website root page.
### References
https://contao.org/en/security-advisories/insert-tag-injection-via-canonical-urls
### 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.13.0Fixed in: 4.13.49composer require contao/core-bundle:^4.13.495.0.0Fixed in: 5.3.15composer require contao/core-bundle:^5.3.155.4.0Fixed in: 5.4.3composer require contao/core-bundle:^5.4.3References
- https://github.com/contao/contao/security/advisories/GHSA-2xpq-xp6c-5mgj[WEB]
- https://nvd.nist.gov/vuln/detail/CVE-2024-45612[ADVISORY]
- https://github.com/contao/contao/commit/1c28e9ac7a7b915134962a59681a8701a44ccbe2[WEB]
- https://github.com/contao/contao/commit/d105224e14ddc84f27cd8802b553369decdcbe66[WEB]
- https://github.com/contao/contao/commit/ffe05cda5310dc2bd259d1391197f3849dab8590[WEB]
- https://contao.org/en/security-advisories/insert-tag-injection-via-canonical-urls[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"]}'