CVE-2022-24899Contao
Medium 6.1 No auth needed
Follow: this CVE · Contao · Contao We alert you by email or Slack (account required).
- Priority
- 52
- CVSS 3.1
- 6.1
- EPSS
- 4.0% probability of exploitation in 30 days · percentile 91
- Auth required
- No
- Published
- May 6, 2022
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-79
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
What happens
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.
What to do
- Apply the vendor's security update for Contao.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Packagist | contao/contao |
≥ 4.13.0 < 4.13.3 |
4.13.3 |
composer require "contao/contao:^4.13.3" |
| Packagist | contao/core-bundle |
≥ 4.13.0 < 4.13.3 |
4.13.3 |
composer require "contao/core-bundle:^4.13.3" |
Per OSV / GitHub Advisories (GHSA-m8x6-6r63-qvj2). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| contao | contao | ≥ 4.13.0 ≤ 4.13.2 |
Official sources
References
Links published by the sources. Open them with care.
- contao.org Vendor Advisory
- github.com Patch Third Party Advisory
- github.com Third Party Advisory