{"id":"CVE-2022-24899","published":"2022-05-05T23:45:13Z","modified":"2025-04-23T18:29:58Z","title":"Cross site scripting via canonical tag","vendor":"contao","product":"contao","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.2,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.04478,"percentile":0.9168,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://github.com/contao/contao/commit/199206849a87ddd0fa5cf674eb3c58292fd8366c","tags":["x_refsource_MISC"]},{"url":"https://github.com/contao/contao/security/advisories/GHSA-m8x6-6r63-qvj2","tags":["x_refsource_CONFIRM"]},{"url":"https://contao.org/en/security-advisories/cross-site-scripting-via-canonical-url.html","tags":["x_refsource_MISC"]}],"priority":{"score":28.4,"factors":[{"name":"EPSS percentile","points":18.34},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":5.04}]},"exploitSources":{"nuclei":[{"id":"CVE-2022-24899","name":"Contao <4.13.3 - Cross-Site Scripting","severity":"medium","path":"http/cves/2022/CVE-2022-24899.yaml","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2022/CVE-2022-24899.yaml"}],"provenance":"source"},"vendorSlug":"contao","affectedVersions":[{"vendor":"contao","product":"contao","versions":["< 4.13.3"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2025-04-23T15:55:05.099859Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"contao/core-bundle","vulnerableRanges":[">=4.13.0, <4.13.3"],"patched":["4.13.3"],"from":["GHSA-m8x6-6r63-qvj2"],"provenance":"source"},{"ecosystem":"Packagist","package":"contao/contao","vulnerableRanges":[">=4.13.0, <4.13.3"],"patched":["4.13.3"],"from":["GHSA-m8x6-6r63-qvj2"],"provenance":"source"}],"summary":{"text":"The flaw is a cross-site scripting issue in the canonical tag handling of Contao, an open source CMS, affecting versions prior to 4.13.3. Attackers can inject script into the canonical tag, and users can work around it by disabling canonical tags in the root page settings.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-21T04:18:28Z"},"euvd":{"id":"EUVD-2022-4528","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2021-35955","published":"2021-08-12","fixed":"4.11.7","kev":false},{"cve":"CVE-2021-37626","published":"2021-08-11","fixed":"4.11.7","kev":false},{"cve":"CVE-2021-37627","published":"2021-08-11","fixed":"4.11.7","kev":false},{"cve":"CVE-2022-24899","published":"2022-05-05","fixed":"4.13.3","kev":false},{"cve":"CVE-2023-29200","published":"2023-04-25","fixed":"5.1.4","kev":false,"link":{"from":"CVE-2022-24899","to":"CVE-2023-29200","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:contao/contao","fromFixed":"4.13.3","toFixed":"4.13.21","daysApart":355}]}},{"cve":"CVE-2025-57756","published":"2025-08-28","fixed":"5.6.1","kev":false},{"cve":"CVE-2025-57757","published":"2025-08-28","fixed":"5.6.1","kev":false}],"package":"Packagist:contao/contao"}}