CVE-2024-45612
Insert tag injection via canonical URL in Contao
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.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- Low
- Integrity
- None
- Availability
- None
Exploit likelihood
What each source reports
CVE List Score used
5.3
Insert tag injection via canonical URL in Contao
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.
- Record
CVE-2024-45612- 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 - Weakness
- CWE-20
- Updated
- 2026-11-02
EUVDEUVD-2024-2699
5.3
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.
- Record
EUVD-2024-2699- 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 - Updated
- 2026-11-03
GitHub AdvisoriesGHSA-2xpq-xp6c-5mgj
6.9
Contao affected by insert tag injection via canonical URL
Impact
It is possible to inject insert tags in canonical URLs which will be replaced when the page is rendered.
Patches
Update to Contao 4.13.49, 5.3.15 or 5.4.3.
Workarounds
Disable canonical tags in the settings of the website root page.
References
https://contao.org/en/security-advisories/insert-tag-injection-via-canonical-urls
For more information
If you have any questions or comments about this advisory, open an issue in contao/contao.
- Record
GHSA-2xpq-xp6c-5mgj- CVSS 4.0
- 6.9 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 - 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 - Weakness
- CWE-20, CWE-74, CWE-79
- Updated
- 2026-11-02
NVD
5.3
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.
- Record
CVE-2024-45612- 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 - 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 - Weakness
- CWE-20, CWE-74
- Updated
- 2026-11-02
OSV
5.3
Insert tag injection via canonical URL in Contao
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.
- Record
CVE-2024-45612- 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 - Weakness
- CWE-20
- Updated
- 2026-11-02
OSVGHSA-2xpq-xp6c-5mgj
6.9
Contao affected by insert tag injection via canonical URL
Impact
It is possible to inject insert tags in canonical URLs which will be replaced when the page is rendered.
Patches
Update to Contao 4.13.49, 5.3.15 or 5.4.3.
Workarounds
Disable canonical tags in the settings of the website root page.
References
https://contao.org/en/security-advisories/insert-tag-injection-via-canonical-urls
For more information
If you have any questions or comments about this advisory, open an issue in contao/contao.
- Record
GHSA-2xpq-xp6c-5mgj- CVSS 4.0
- 6.9 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 - 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 - Weakness
- CWE-20, CWE-74, CWE-79
- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
contao/core-bundlePackagist |
4.13.0 up to 4.13.49 | 4.13.49 |
contao/core-bundlePackagist |
5.0.0 up to 5.3.15 | 5.3.15 |
contao/core-bundlePackagist |
5.4.0 up to 5.4.3 | 5.4.3 |
contao/core-bundlePackagist |
4.13.0 up to 4.13.49, plus listed versions 4.13.14.13.104.13.114.13.124.13.13 Show 43 moreShow less4.13.144.13.154.13.164.13.174.13.184.13.194.13.24.13.204.13.214.13.224.13.234.13.244.13.254.13.264.13.274.13.284.13.294.13.34.13.304.13.314.13.324.13.334.13.344.13.354.13.364.13.374.13.384.13.394.13.44.13.404.13.414.13.424.13.434.13.444.13.454.13.464.13.474.13.484.13.54.13.64.13.74.13.84.13.9 |
4.13.49 |
contao/core-bundlePackagist |
5.0.0 up to 5.3.15, plus listed versions 5.0.15.0.105.0.25.0.35.0.4 Show 45 moreShow less5.0.55.0.65.0.75.0.85.0.95.1.05.1.0-RC15.1.0-RC25.1.0-RC35.1.15.1.105.1.115.1.25.1.35.1.45.1.55.1.65.1.75.1.85.1.95.2.05.2.0-RC15.2.0-RC25.2.0-RC35.2.0-RC45.2.0-RC55.2.0-RC65.2.15.2.105.2.25.2.35.2.45.2.55.2.65.2.75.2.85.2.95.3.05.3.0-RC15.3.0-RC25.3.0-RC35.3.0-RC45.3.15.3.105.3.11 |
5.3.15 |
contao/core-bundlePackagist |
5.4.0 up to 5.4.3, plus listed versions 5.4.15.4.2 |
5.4.3 |
History
| Recorded | Changed | Sources |
|---|---|---|
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2024-45612 is a medium vulnerability (CVSS 5.3) in Contao, published September 17, 2024. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.30%, the 22nd percentile. Fixed in contao/core-bundle 4.13.49.
References
github.com/contao/contao/security/advisories/GHSA-2xpq-xp6c-5mgj
contao.org/en/security-advisories/insert-tag-injection-via-canonical-urls
github.com/contao/contao/commit/1c28e9ac7a7b915134962a59681a8701a44ccbe2
github.com/contao/contao/commit/d105224e14ddc84f27cd8802b553369decdcbe66
github.com/contao/contao/commit/ffe05cda5310dc2bd259d1391197f3849dab8590
nvd.nist.gov/vuln/detail/CVE-2024-45612
github.com/advisories/GHSA-2xpq-xp6c-5mgj
github.com/CVEProject/cvelistV5/tree/main/cves/2024/45xxx/CVE-2024-45612.json
github.com/contao/contao
Left out here: 11 versions. The JSON record has them.