Skip to content
Heist/ feed
Back to feed
High

Cross site scripting via canonical tag

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2022-24899
Confirmed fixed CVEs
Not specified
Updated in this feed
7 Nov 2026, 19:05 UTC · Revision 1

Source evidence

Cross site scripting via canonical tag

core-osv · Original source

Published 5 May 2022, 23:45 UTC

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.

osv:CVE-2022-24899
Complete source record
{
  "id": "6389cf553a7a31d684ade30c78fa8a317c37d4a3cee16ce3956385bb857b2edf",
  "url": "https://osv.dev/vulnerability/CVE-2022-24899",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Cross site scripting via canonical tag",
    "summary": "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.",
    "evidence": "osv:CVE-2022-24899",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2022-24899",
      "aliases": [
        "CVE-2022-24899",
        "GHSA-m8x6-6r63-qvj2"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/contao/contao",
              "type": "GIT",
              "events": [
                {
                  "introduced": "af3d72daae8f8d9671d1a8dd806608afe91c8a18"
                },
                {
                  "fixed": "199206849a87ddd0fa5cf674eb3c58292fd8366c"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:contao:contao:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "4.13.0"
                      },
                      {
                        "last_affected": "4.13.2"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "199206849a87ddd0fa5cf674eb3c58292fd8366c"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "4.13.2",
            "4.13.1",
            "4.13.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-24899.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:51.569794306Z",
      "provider": "osv",
      "references": [
        "https://contao.org/en/security-advisories/cross-site-scripting-via-canonical-url.html",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/24xxx/CVE-2022-24899.json",
        "https://github.com/contao/contao/security/advisories/GHSA-m8x6-6r63-qvj2",
        "https://nvd.nist.gov/vuln/detail/CVE-2022-24899",
        "https://github.com/contao/contao/commit/199206849a87ddd0fa5cf674eb3c58292fd8366c"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-79"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/24xxx/CVE-2022-24899.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2022-24899",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 520180,
  "published_at": "2022-05-05T23:45:13+00:00"
}