Insert tag injection via canonical URL in Contao
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Cross-site scripting
- Confidentiality · integrity · availability
- Low · None · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-79.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| contao | contao | 4.13.0 to before 4.13.49; 5.0.0 to before 5.3.15; 5.4.0 to before 5.4.3 | 4.13.49, 5.3.15, 5.4.3 | Patch available | CNA |
| — | contao/core-bundle (Packagist) | 4.13.0 to before 4.13.49 | 4.13.49 | Patch available | GHSA-2xpq-xp6c-5mgj |
| — | contao/core-bundle (Packagist) | 5.0.0 to before 5.3.15 | 5.3.15 | Patch available | GHSA-2xpq-xp6c-5mgj |
| — | contao/core-bundle (Packagist) | 5.4.0 to before 5.4.3 | 5.4.3 | Patch available | GHSA-2xpq-xp6c-5mgj |
- contao Vendorcontao Affected 4.13.0 to before 4.13.49; 5.0.0 to before 5.3.15; 5.4.0 to before 5.4.3 Fixed in 4.13.49, 5.3.15, 5.4.3 Patch available CNA
- contao/core-bundle (Packagist) Vendor— Affected 4.13.0 to before 4.13.49 Fixed in 4.13.49 Patch available GHSA-2xpq-xp6c-5mgj
- contao/core-bundle (Packagist) Vendor— Affected 5.0.0 to before 5.3.15 Fixed in 5.3.15 Patch available GHSA-2xpq-xp6c-5mgj
- contao/core-bundle (Packagist) Vendor— Affected 5.4.0 to before 5.4.3 Fixed in 5.4.3 Patch available GHSA-2xpq-xp6c-5mgj
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:contao:contao:*:*:*:*:*:*:*:* | 4.13.0 to before 4.13.49; 5.3.0 to before 5.3.15; 5.4.0 to before 5.4.3 | Vulnerable | contao |
- cpe:2.3:a:contao:contao:*:*:*:*:*:*:*:* Versions 4.13.0 to before 4.13.49; 5.3.0 to before 5.3.15; 5.4.0 to before 5.4.3 Vulnerable ·contao
Remediation
- Fix · CNA contao (contao) Fixed in 4.13.49, 5.3.15, 5.4.3
- Fix · GHSA-2xpq-xp6c-5mgj contao/core-bundle (Packagist) Fixed in 4.13.49 Advisory →
- Fix · GHSA-2xpq-xp6c-5mgj contao/core-bundle (Packagist) Fixed in 5.3.15 Advisory →
- Fix · GHSA-2xpq-xp6c-5mgj contao/core-bundle (Packagist) Fixed in 5.4.3 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2024-45612
- 2026-10-03 Alias added: GHSA-2xpq-xp6c-5mgj
References
Advisory 3
More Contao vulnerabilities
- TI-2022-09661 Contao Managed Edition v1.5.0 was discovered to contain a remote command execution (RCE)… CVSS 3.1CRITICAL 9.8
- TI-2024-30849 Unrestricted file upload in Contao CVSS 3.1MEDIUM 6.4
- TI-2023-18600 Contao cross site scripting vulnerability via input unit widget CVSS 3.1MEDIUM 6.5
- TI-2022-08709 Cross site scripting via canonical tag CVSS 3.1HIGH 7.2
- TI-2019-08602 Contao 4.x allows SQL Injection. CVSS 3.0CRITICAL 9.8
- TI-2024-30447 Remote command execution through file upload in contao/core-bundle CVSS 3.1HIGH 8.8
Sources
- CVE-2024-45612 · CVE Program
- CVE-2024-45612 · NVD
- FIRST EPSS
- GHSA-2xpq-xp6c-5mgj · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences