Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. contao/core-bundle
  4. ›
  5. CVE-2022-24899

CVE-2022-24899: Cross site scripting via canonical tag in Contao

May 20, 2022 (updated April 17, 2025)

Untrusted users can inject malicious code into the canonical tag, which is then executed on the web page (front end).

References

  • contao.org/en/security-advisories/cross-site-scripting-via-canonical-url.html
  • github.com/FriendsOfPHP/security-advisories/blob/master/contao/contao/CVE-2022-24899.yaml
  • github.com/FriendsOfPHP/security-advisories/blob/master/contao/core-bundle/CVE-2022-24899.yaml
  • github.com/advisories/GHSA-m8x6-6r63-qvj2
  • github.com/contao/contao
  • github.com/contao/contao/commit/199206849a87ddd0fa5cf674eb3c58292fd8366c
  • github.com/contao/contao/security/advisories/GHSA-m8x6-6r63-qvj2
  • nvd.nist.gov/vuln/detail/CVE-2022-24899

Code Behaviors & Features

Detect and mitigate CVE-2022-24899 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 4.13.0 before 4.13.3

Fixed versions

  • 4.13.3

Solution

Upgrade to version 4.13.3 or above.

Impact 6.1 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Source file

packagist/contao/core-bundle/CVE-2022-24899.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:19 +0000.