Cross-site scripting in Contao - CVE-2022-24899

 

Cross-site scripting in Contao - CVE-2022-24899

Published: May 5, 2022 / Updated: May 5, 2026


Vulnerability identifier: #VU130131
CSH Severity: Medium
CVSS v4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N]
CVE-ID: CVE-2022-24899
CWE-ID: CWE-79
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to inject malicious script into the web page.

The vulnerability exists due to cross-site scripting in the canonical tag handling in contao/core-bundle when processing a canonical URL. A remote attacker can inject malicious code into the canonical tag to inject malicious script into the web page.

The injected code is executed on the front end.


Affected software

Contao

How to mitigate CVE-2022-24899

Install security update from vendor's website.

Contao - update to 4.13.3

External References

Related Security Bulletins