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

Published Nov 25, 2025
·
Updated

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

Other sources

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.

— MITRE

Affected Software

7 affected componentsFixes available
Contao Contao>=4.0.0<4.13.57, <5.3.42, <5.6.5
composer/contao/core-bundle>=5.4.0-RC1<5.6.5
5.6.5
composer/contao/core-bundle>=5.0.0-RC1<5.3.42
5.3.42
composer/contao/core-bundle>=4.0.0<4.13.57
4.13.57
Contao Contao>=4.0.0<4.13.57
Contao Contao>=5.0.0<5.3.42
Contao Contao>=5.4.0<5.6.5

Event History

Nov 25, 2025
CVE Published
via MITRE·07:06 PM
Data Sourced
via MITRE·07:06 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·07:15 PM
DescriptionSeverityWeaknessAffected Software
Advisory Published
via GitHub·08:48 PM
Data Sourced
via GitHub·08:48 PM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2025-65961?

CVE-2025-65961 has a high severity due to the potential for code injection in both front-end and back-end templates.

2

How do I fix CVE-2025-65961?

To fix CVE-2025-65961, upgrade your Contao installation to version 4.13.57, 5.3.42, or 5.6.5 or later.

3

What versions of Contao are affected by CVE-2025-65961?

Contao versions from 4.0.0 to 4.13.56, and versions before 5.3.42 and 5.6.5 are affected by CVE-2025-65961.

4

What type of vulnerability is CVE-2025-65961?

CVE-2025-65961 is a code injection vulnerability that allows attacker's scripts to run in the browser.

5

Is CVE-2025-65961 exploited in the wild?

As of now, there have been no specific reports of CVE-2025-65961 being exploited in the wild, but it is essential to apply patches promptly.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203