CVE Explorer
CVE-2026-45072
Symfony is a PHP framework for web and console applications and a set of reusable PHP components. From 6.4.24 until 6.4.40, 7.4.12, and 8.0.12, the development profiler file_excerpt Twig filter escapes PHP files through highlight_string() but interpolates lines from non-PHP files directly into <code> elements, allowing stored XSS against a developer who opens an attacker-written file such as var/log/dev.log in the profiler. This issue is fixed in versions 6.4.40, 7.4.12, and 8.0.12.
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
1
Preserved source conflicts
No provider value was silently selected as the winner.
affected · 3 assertions
{"product":"symfony","vendor":"symfony","versions":[{"status":"affected","version":">= 6.4.24, < 6.4.40"},{"status":"affected","version":">= 7.2.9, < 7.4.12"},{"status":"affected","version":">= 8.0.0-BETA1, < 8.0.12"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:72372ceac520db33b507302f05f7763e09918c09963be22f28d6f7a19e76945b · sha256:f162f3984a9e83bf… · /containers/cna/affected/0
{"product":"twig-bridge","vendor":"symfony","versions":[{"status":"affected","version":">= 6.4.24, < 6.4.40"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:72372ceac520db33b507302f05f7763e09918c09963be22f28d6f7a19e76945b · sha256:f162f3984a9e83bf… · /containers/cna/affected/1
{"product":"web-profiler-bundle","vendor":"symfony","versions":[{"status":"affected","version":">= 7.2.9, < 7.4.12"},{"status":"affected","version":">= 8.0.0-BETA1, < 8.0.12"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:72372ceac520db33b507302f05f7763e09918c09963be22f28d6f7a19e76945b · sha256:f162f3984a9e83bf… · /containers/cna/affected/2
Affected products and versions
3 source assertions{"product":"symfony","vendor":"symfony","versions":[{"status":"affected","version":">= 6.4.24, < 6.4.40"},{"status":"affected","version":">= 7.2.9, < 7.4.12"},{"status":"affected","version":">= 8.0.0-BETA1, < 8.0.12"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:72372ceac520db33b507302f05f7763e09918c09963be22f28d6f7a19e76945b · sha256:f162f3984a9e83bf… · /containers/cna/affected/0
{"product":"twig-bridge","vendor":"symfony","versions":[{"status":"affected","version":">= 6.4.24, < 6.4.40"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:72372ceac520db33b507302f05f7763e09918c09963be22f28d6f7a19e76945b · sha256:f162f3984a9e83bf… · /containers/cna/affected/1
{"product":"web-profiler-bundle","vendor":"symfony","versions":[{"status":"affected","version":">= 7.2.9, < 7.4.12"},{"status":"affected","version":">= 8.0.0-BETA1, < 8.0.12"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:72372ceac520db33b507302f05f7763e09918c09963be22f28d6f7a19e76945b · sha256:f162f3984a9e83bf… · /containers/cna/affected/2
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackRequirements":"PRESENT","attackVector":"NETWORK","baseScore":2,"baseSeverity":"LOW","privilegesRequired":"LOW","subAvailabilityImpact":"NONE","subConfidentialityImpact":"LOW","subIntegrityImpact":"LOW","userInteraction":"ACTIVE","vectorString":"CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N","version":"4.0","vulnAvailabilityImpact":"NONE","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"NONE"},"metric_type":"cvssV4_0"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:72372ceac520db33b507302f05f7763e09918c09963be22f28d6f7a19e76945b · sha256:f162f3984a9e83bf… · /containers/cna/metrics/0/cvssV4_0
CWE assertions
1 source assertion{"cweId":"CWE-79","description":"CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:72372ceac520db33b507302f05f7763e09918c09963be22f28d6f7a19e76945b · sha256:f162f3984a9e83bf… · /containers/cna/problemTypes/0/descriptions/0
Source references
5 source assertions{"name":"https://github.com/symfony/symfony/commit/863aa81c61166f1aa74b7732df316f76113acbdb","tags":["x_refsource_MISC"],"url":"https://github.com/symfony/symfony/commit/863aa81c61166f1aa74b7732df316f76113acbdb"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:72372ceac520db33b507302f05f7763e09918c09963be22f28d6f7a19e76945b · sha256:f162f3984a9e83bf… · /containers/cna/references/1
{"name":"https://github.com/symfony/symfony/releases/tag/v6.4.40","tags":["x_refsource_MISC"],"url":"https://github.com/symfony/symfony/releases/tag/v6.4.40"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:72372ceac520db33b507302f05f7763e09918c09963be22f28d6f7a19e76945b · sha256:f162f3984a9e83bf… · /containers/cna/references/2
{"name":"https://github.com/symfony/symfony/releases/tag/v7.4.12","tags":["x_refsource_MISC"],"url":"https://github.com/symfony/symfony/releases/tag/v7.4.12"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:72372ceac520db33b507302f05f7763e09918c09963be22f28d6f7a19e76945b · sha256:f162f3984a9e83bf… · /containers/cna/references/3
{"name":"https://github.com/symfony/symfony/releases/tag/v8.0.12","tags":["x_refsource_MISC"],"url":"https://github.com/symfony/symfony/releases/tag/v8.0.12"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:72372ceac520db33b507302f05f7763e09918c09963be22f28d6f7a19e76945b · sha256:f162f3984a9e83bf… · /containers/cna/references/4
{"name":"https://github.com/symfony/symfony/security/advisories/GHSA-hmr5-2xcr-v8pp","tags":["x_refsource_CONFIRM"],"url":"https://github.com/symfony/symfony/security/advisories/GHSA-hmr5-2xcr-v8pp"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:72372ceac520db33b507302f05f7763e09918c09963be22f28d6f7a19e76945b · sha256:f162f3984a9e83bf… · /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.