CVE-2025-65961: Contao is vulnerable to cross-site scripting in templates

CVE-2025-65961 · Severity: low · CVSS 3.3 · Published 2025-11-25

Contao is an Open Source CMS. From version 4.0.0 to before 4.13.57, before 5.3.42, and before 5.6.5, it is possible to inject code into the template output that will be executed in the browser in the front end and back end. This issue has been patched in versions 4.13.57, 5.3.42, and 5.6.5. A workaround for this issue involves not using the affected templates or patch them manually.

Technologies: Contao, contao/core-bundle (Packagist). Vendors: Contao, Packagist.

Quick answers

Is CVE-2025-65961 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2025-65961 being exploited in the wild.
How severe is CVE-2025-65961?
Low severity, with a CVSS score of 3.3, published 25 November 2025.
Which products and versions are affected?
contao/core-bundle (Packagist) ECOSYSTEM:introduced=4.0.0,fixed=4.13.57.
Is there a fix for CVE-2025-65961?
Yes. contao/core-bundle (Packagist): upgrade to 4.13.57 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
Am I affected by CVE-2025-65961?
Check whether you run Contao or contao/core-bundle (Packagist) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • contao/core-bundle (Packagist): upgrade to 4.13.57 or later
    composer require contao/core-bundle:^4.13.57

Affected products

  • Contao
  • contao/core-bundle (Packagist) ECOSYSTEM:introduced=4.0.0,fixed=4.13.57

Identifiers

  • CVE-2025-65961
  • GHSA-68q5-78xp-cwwc

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.