All reports
Low

Contao is vulnerable to cross-site scripting in templates

Affected versions

Affected versions
>= 5.4.0-RC1, < 5.6.5
Fixed version
5.6.5
Affected versions
>= 5.0.0-RC1, < 5.3.42
Fixed version
5.3.42
Affected versions
>= 4.0.0, < 4.13.57
Fixed version
4.13.57

Exploitation

CVE-2025-65961

Probability of exploitation in the next 30 days: 0.18%

FIRST EPSS · 2026-11-22

Description

Impact

It is possible to inject code into the template output that will be executed in the browser in the front end and back end.

Patches

Update to Contao 4.13.57, 5.3.42 or 5.6.5.

Workarounds

Do not use the affected templates or patch them manually.

Refsources

https://contao.org/en/security-advisories/cross-site-scripting-in-templates

Links

Credits

  • ausi
  • m-vo