{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-45072","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","state":"PUBLISHED","assignerShortName":"GitHub_M","dateReserved":"2026-05-08T18:45:10.096Z","datePublished":"2026-07-14T18:11:07.748Z","dateUpdated":"2026-07-15T13:26:50.587Z"},"containers":{"cna":{"title":"Symfony: Stored XSS in WebProfiler CodeExtension::fileExcerpt() — Unescaped Non-PHP File Rendering","problemTypes":[{"descriptions":[{"cweId":"CWE-79","lang":"en","description":"CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","type":"CWE"}]}],"metrics":[{"cvssV4_0":{"attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"PRESENT","privilegesRequired":"LOW","userInteraction":"ACTIVE","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"NONE","vulnAvailabilityImpact":"NONE","subConfidentialityImpact":"LOW","subIntegrityImpact":"LOW","subAvailabilityImpact":"NONE","baseScore":2,"baseSeverity":"LOW","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"}}],"references":[{"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"},{"name":"https://github.com/symfony/symfony/commit/863aa81c61166f1aa74b7732df316f76113acbdb","tags":["x_refsource_MISC"],"url":"https://github.com/symfony/symfony/commit/863aa81c61166f1aa74b7732df316f76113acbdb"},{"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"},{"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"},{"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"}],"affected":[{"vendor":"symfony","product":"symfony","versions":[{"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","status":"affected"}]},{"vendor":"symfony","product":"twig-bridge","versions":[{"version":">= 6.4.24, < 6.4.40","status":"affected"}]},{"vendor":"symfony","product":"web-profiler-bundle","versions":[{"version":">= 7.2.9, < 7.4.12","status":"affected"},{"version":">= 8.0.0-BETA1, < 8.0.12","status":"affected"}]}],"providerMetadata":{"orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","shortName":"GitHub_M","dateUpdated":"2026-07-14T18:11:07.748Z"},"descriptions":[{"lang":"en","value":"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."}],"source":{"advisory":"GHSA-hmr5-2xcr-v8pp","discovery":"UNKNOWN"}},"adp":[{"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-07-15T13:26:39.904627Z","id":"CVE-2026-45072","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"title":"CISA ADP Vulnrichment","providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2026-07-15T13:26:50.587Z"}}]}}