CVE Explorer
CVE-2025-65960
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.
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"product":"contao","vendor":"contao","versions":[{"status":"affected","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"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:f2f3fd82cf5e47f33e35d71683ed4898e84875681e39c764836419513be4123d · sha256:7f61a5a99fdf92de… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":6.6,"baseSeverity":"MEDIUM","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"HIGH","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:f2f3fd82cf5e47f33e35d71683ed4898e84875681e39c764836419513be4123d · sha256:7f61a5a99fdf92de… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
1 source assertion{"cweId":"CWE-351","description":"CWE-351: Insufficient Type Distinction","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:f2f3fd82cf5e47f33e35d71683ed4898e84875681e39c764836419513be4123d · sha256:7f61a5a99fdf92de… · /containers/cna/problemTypes/0/descriptions/0
Source references
2 source assertions{"name":"https://contao.org/en/security-advisories/remote-code-execution-in-template-closures","tags":["x_refsource_MISC"],"url":"https://contao.org/en/security-advisories/remote-code-execution-in-template-closures"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:f2f3fd82cf5e47f33e35d71683ed4898e84875681e39c764836419513be4123d · sha256:7f61a5a99fdf92de… · /containers/cna/references/1
{"name":"https://github.com/contao/contao/security/advisories/GHSA-98vj-mm79-v77r","tags":["x_refsource_CONFIRM"],"url":"https://github.com/contao/contao/security/advisories/GHSA-98vj-mm79-v77r"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:f2f3fd82cf5e47f33e35d71683ed4898e84875681e39c764836419513be4123d · sha256:7f61a5a99fdf92de… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.