CVE-2022-24899
MEDIUM 6.1CVSS 3.1Cross site scripting via canonical tag in Contao
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.
- Published
- 6 May 2022
- Last modified
- 17 Jun 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-79
- Also known as
- GHSA-m8x6-6r63-qvj2
- Sources
- NVDJSONOSV GHSA-m8x6-6r63-qvj2JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.2 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | HIGH 7.2 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 4.3 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | contao | contaocpe:2.3:a:contao:contao:*:*:*:*:*:*:*:* |
>= 4.13.0, <= 4.13.2 | |
| OSV | Packagist | contao/core-bundle | >= 4.13.0, < 4.13.3 | 4.13.3 |
| OSV | Packagist | contao/contao | >= 4.13.0, < 4.13.3 | 4.13.3 |
References
- https://contao.org/en/security-advisories/cross-site-scripting-via-canonical-url.html · Vendor Advisory, WEB
- https://github.com/contao/contao/commit/199206849a87ddd0fa5cf674eb3c58292fd8366c · Patch, Third Party Advisory, WEB
- https://github.com/contao/contao/security/advisories/GHSA-m8x6-6r63-qvj2 · Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2022-24899 · ADVISORY
- https://github.com/FriendsOfPHP/security-advisories/blob/master/contao/contao/CVE-2022-24899.yaml · WEB
- https://github.com/FriendsOfPHP/security-advisories/blob/master/contao/core-bundle/CVE-2022-24899.yaml · WEB
- https://github.com/contao/contao · PACKAGE
History
- 25 Nov 2026 20:34 UTC · NVD: first stored (published 6 May 2022)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 20 May 2022)