Vulnerabilities · 2022 · Contao
CVE-2022-24899
Contao vulnerability
Contao is a powerful open source CMS that allows you to create professional websites and scalable web applications. In versions of Contao prior to 4.13.3 it is possible to inject code into the canonical tag. As a workaround users may disable canonical tags in the root page settings.
Affected products
Contao. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Contao runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- contao.org/en/security-advisories/cross-site-scripting-via-canonical-url.html · Vendor Advisory
- github.com/contao/contao/commit/199206849a87ddd0fa5cf674eb3c58292fd8366c · Patch
- github.com/contao/contao/security/advisories/GHSA-m8x6-6r63-qvj2 · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2022-24899
- github.com/FriendsOfPHP/security-advisories/blob/master/contao/contao/CVE-2022-24899.yaml
- github.com/FriendsOfPHP/security-advisories/blob/master/contao/core-bundle/CVE-2022-24899.
- github.com/advisories/GHSA-m8x6-6r63-qvj2
- nvd.nist.gov/vuln/detail/CVE-2022-24899
- cve.org/CVERecord?id=CVE-2022-24899
More vulnerabilities in Contao products
CVE-2025-65961CVE-2025-65960CVE-2025-57759CVE-2025-57758CVE-2025-57757CVE-2025-57756CVE-2025-29790CVE-2024-45965All 42
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.