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

- Severity: Low 3.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.18%, higher than 7% of CVEs (2026-12-01)
- Published: 2025-11-25T19:06:37.395Z
- Modified: 2026-10-18T20:10:00.110Z
- Also known as: GHSA-68q5-78xp-cwwc
- Weaknesses: CWE-79, CWE-87
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- contao contao: >= 4.0.0, < 4.13.57; >= 5.0.0-RC1, < 5.3.42; >= 5.4.0-RC1, < 5.6.5; from 4.0.0 before 4.13.57; from 5.0.0 before 5.3.42; from 5.4.0 before 5.6.5
- contao/core-bundle (Packagist): from 4.0.0 before 4.13.57; from 5.0.0-RC1 before 5.3.42; from 5.4.0-RC1 before 5.6.5

## Every score

- GitHub_M: CVSS:3.1 3.3 Low `CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:L/I:L/A:N`
- GitHub: CVSS:3.1 3.3 Low `CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:L/I:L/A:N`
- NVD: CVSS:3.1 4.8 Medium `CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://github.com/contao/contao/security/advisories/GHSA-68q5-78xp-cwwc> (vendor-advisory, web)
- <https://contao.org/en/security-advisories/cross-site-scripting-in-templates> (vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-65961> (advisory)
- <https://github.com/contao/contao> (package)

## Sources

- CVE List: [CVE-2025-65961](https://www.cve.org/CVERecord?id=CVE-2025-65961), CVE Terms of Use, modified 2025-11-25
- GitHub Advisory Database: [GHSA-68q5-78xp-cwwc](https://github.com/advisories/GHSA-68q5-78xp-cwwc), CC-BY-4.0, modified 2025-12-03
- NVD: [CVE-2025-65961](https://nvd.nist.gov/vuln/detail/CVE-2025-65961), Public domain, modified 2026-10-18

---

Page: https://cve.day/CVE-2025-65961 · Whole record: https://cve.day/CVE-2025-65961.json · Rebuilt by cve.day 2026-11-25T22:59:08.009Z
