CVE-2025-65961
MEDIUM 4.8CVSS 3.1Contao is vulnerable to cross-site scripting in templates
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.
- Published
- 25 Nov 2025
- Last modified
- 18 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-79CWE-87
- Also known as
- GHSA-68q5-78xp-cwwc
- Sources
- NVDJSONOSV GHSA-68q5-78xp-cwwcJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 4.8 | CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | LOW 3.3 | CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | LOW 3.3 | CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:L/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | contao | contaocpe:2.3:a:contao:contao:*:*:*:*:*:*:*:* |
>= 4.0.0, < 4.13.57 | 4.13.57 |
| NVD | contao | contaocpe:2.3:a:contao:contao:*:*:*:*:*:*:*:* |
>= 5.0.0, < 5.3.42 | 5.3.42 |
| NVD | contao | contaocpe:2.3:a:contao:contao:*:*:*:*:*:*:*:* |
>= 5.4.0, < 5.6.5 | 5.6.5 |
| OSV | Packagist | contao/core-bundle | >= 4.0.0, < 4.13.57 | 4.13.57 |
| OSV | Packagist | contao/core-bundle | >= 5.0.0-RC1, < 5.3.42 | 5.3.42 |
| OSV | Packagist | contao/core-bundle | >= 5.4.0-RC1, < 5.6.5 | 5.6.5 |
References
- https://contao.org/en/security-advisories/cross-site-scripting-in-templates · Vendor Advisory, WEB
- https://github.com/contao/contao/security/advisories/GHSA-68q5-78xp-cwwc · Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-65961 · ADVISORY
- https://github.com/contao/contao · PACKAGE
History
- 25 Nov 2026 20:59 UTC · NVD: first stored (published 25 Nov 2025)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 25 Nov 2025)