# CVE-2022-24899: Cross site scripting via canonical tag

- Severity: High 7.2 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 4.48%, higher than 91% of CVEs (2026-12-02)
- Published: 2022-05-05T23:45:13.000Z
- Modified: 2026-06-17T04:32:45.630Z
- Also known as: GHSA-m8x6-6r63-qvj2
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- contao contao: < 4.13.3; from 4.13.0 up to 4.13.2
- contao/core-bundle (Packagist): from 4.13.0 before 4.13.3
- contao/contao (Packagist): from 4.13.0 before 4.13.3

## Every score

- GitHub_M: CVSS:3.1 7.2 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N`
- GitHub: CVSS:3.1 7.2 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N`
- NVD: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:2.0 4.3 Medium `AV:N/AC:M/Au:N/C:N/I:P/A:N`

## References

- <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://contao.org/en/security-advisories/cross-site-scripting-via-canonical-url.html> (vendor-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)

## Sources

- CVE List: [CVE-2022-24899](https://www.cve.org/CVERecord?id=CVE-2022-24899), CVE Terms of Use, modified 2025-04-23
- GitHub Advisory Database: [GHSA-m8x6-6r63-qvj2](https://github.com/advisories/GHSA-m8x6-6r63-qvj2), CC-BY-4.0, modified 2025-04-17
- NVD: [CVE-2022-24899](https://nvd.nist.gov/vuln/detail/CVE-2022-24899), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-24899 · Whole record: https://cve.day/CVE-2022-24899.json · Rebuilt by cve.day 2026-11-25T22:58:11.486Z
