CVE-2025-65961
JSON

3.3low

Contao is vulnerable to cross-site scripting in templates

Severity
3.3low CVSS:3.1 by GitHub_M
Exploit likelihood
0.18% (higher than 7% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-68q5-78xp-cwwc

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.

Affected

Product or packageVersionsReported by
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.5CVE List, NVD
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.5GitHub Advisory Database

All scores

GitHub_M3.3low CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:L/I:L/A:N
GitHub3.3low CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:L/I:L/A:N
NVD4.8medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N

Classification

CWE-79CWE-87

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

GitHub Advisory Database
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

NVD (es)

Contao es un CMS de código abierto. Desde la versión 4.0.0 hasta la 4.13.57, hasta la 5.3.42, y hasta la 5.6.5, es posible inyectar código en la salida de la plantilla que se ejecutará en el navegador en el front end y back end. Este problema ha sido parcheado en las versiones 4.13.57, 5.3.42, y 5.6.5. Una solución alternativa para este problema implica no usar las plantillas afectadas o parchearlas manualmente.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-65961 changed 2025-11-25CVE Terms of Use
GitHub Advisory DatabaseGHSA-68q5-78xp-cwwc changed 2025-12-03CC-BY-4.0
NVDCVE-2025-65961 changed 2026-10-18Public domain