{"id":"CVE-2025-65960","sourceIdentifier":"security-advisories@github.com","published":"2025-11-25T19:15:51.203","lastModified":"2026-10-18T20:10:00.110","vulnStatus":"Analyzed","cveTags":[],"descriptions":[{"lang":"en","value":"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, back end users with precise control over the contents of template closures can execute arbitrary PHP functions that do not have required parameters. This issue has been patched in versions 4.13.57, 5.3.42, and 5.6.5. A workaround for this issue involves manually patching the Contao\\Template::once() method."},{"lang":"es","value":"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, los usuarios del back end con control preciso sobre el contenido de los cierres de plantilla pueden ejecutar funciones PHP arbitrarias que no tienen parámetros requeridos. 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 parchear manualmente el método Contao\\Template::once()."}],"affected":[{"source":"security-advisories@github.com","affectedData":[{"vendor":"contao","product":"contao","versions":[{"version":">= 4.0.0, < 4.13.57","status":"affected"},{"version":">= 5.0.0-RC1, < 5.3.42","status":"affected"},{"version":">= 5.4.0-RC1, < 5.6.5","status":"affected"}]}]}],"metrics":{"cvssMetricV31":[{"source":"security-advisories@github.com","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H","baseScore":6.6,"baseSeverity":"MEDIUM","attackVector":"NETWORK","attackComplexity":"HIGH","privilegesRequired":"HIGH","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"},"exploitabilityScore":0.7,"impactScore":5.9}],"ssvcV203":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","ssvcData":{"timestamp":"2025-11-25T19:59:53.302405Z","id":"CVE-2025-65960","options":[{"exploitation":"none"},{"automatable":"no"},{"technicalImpact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}]},"weaknesses":[{"source":"security-advisories@github.com","type":"Secondary","description":[{"lang":"en","value":"CWE-351"}]}],"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:contao:contao:*:*:*:*:*:*:*:*","versionStartIncluding":"4.0.0","versionEndExcluding":"4.13.57","matchCriteriaId":"476CF4CA-7225-4CE2-B400-9D69AFB9C609"},{"vulnerable":true,"criteria":"cpe:2.3:a:contao:contao:*:*:*:*:*:*:*:*","versionStartIncluding":"5.0.0","versionEndExcluding":"5.3.42","matchCriteriaId":"13024496-5AD3-4439-983D-5D29485E9A26"},{"vulnerable":true,"criteria":"cpe:2.3:a:contao:contao:*:*:*:*:*:*:*:*","versionStartIncluding":"5.4.0","versionEndExcluding":"5.6.5","matchCriteriaId":"839D1FF5-F939-4BE8-B0E6-182DBF9A1A5B"}]}]}],"references":[{"url":"https://contao.org/en/security-advisories/remote-code-execution-in-template-closures","source":"security-advisories@github.com","tags":["Vendor Advisory"]},{"url":"https://github.com/contao/contao/security/advisories/GHSA-98vj-mm79-v77r","source":"security-advisories@github.com","tags":["Vendor Advisory"]}]}