# CVE-2024-45612: Insert tag injection via canonical URL in Contao

- Severity: Medium 5.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/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): 0.30%, higher than 24% of CVEs (2026-12-01)
- Published: 2024-09-17T14:59:02.000Z
- Modified: 2026-06-17T07:54:33.890Z
- Also known as: GHSA-2xpq-xp6c-5mgj
- Weaknesses: CWE-20, CWE-74, CWE-79
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## Description

Contao is an Open Source CMS. In affected versions an untrusted user can inject insert tags into the canonical tag, which are then replaced on the web page (front end). Users are advised to update to Contao 4.13.49, 5.3.15 or 5.4.3. Users unable to upgrade should disable canonical tags in the root page settings.

(As written by CVE List.)

## Affected

- contao contao: >= 4.13.0, < 4.13.49; >= 5.0.0, < 5.3.15; >= 5.4.0, < 5.4.3; from 4.13.0 before 4.13.49; from 5.0.0 before 5.3.15; from 5.4.0 before 5.4.3; from 5.3.0 before 5.3.15
- contao/core-bundle (Packagist): from 4.13.0 before 4.13.49; from 5.0.0 before 5.3.15; from 5.4.0 before 5.4.3

## Every score

- GitHub_M: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N`
- GitHub: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N`
- GitHub: CVSS:4.0 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N`
- NVD: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N`

## References

- <https://github.com/contao/contao/security/advisories/GHSA-2xpq-xp6c-5mgj> (vendor-advisory, web)
- <https://contao.org/en/security-advisories/insert-tag-injection-via-canonical-urls> (vendor-advisory, 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://github.com/contao/contao> (package)

## Sources

- CVE List: [CVE-2024-45612](https://www.cve.org/CVERecord?id=CVE-2024-45612), CVE Terms of Use, modified 2024-09-18
- GitHub Advisory Database: [GHSA-2xpq-xp6c-5mgj](https://github.com/advisories/GHSA-2xpq-xp6c-5mgj), CC-BY-4.0, modified 2024-09-23
- NVD: [CVE-2024-45612](https://nvd.nist.gov/vuln/detail/CVE-2024-45612), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-45612 · Whole record: https://cve.day/CVE-2024-45612.json · Rebuilt by cve.day 2026-11-25T22:58:45.512Z
