Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

UBUNTU-CVE-2026-45072

0
Medium
Published: 07/14/2026 (07/14/2026, 19:17:00 UTC)
Source: GCVE Database
Product: symfony

Description

A stored cross-site scripting (XSS) vulnerability exists in the Symfony PHP framework's development profiler file_excerpt Twig filter. Versions from 6.4.24 up to but not including 6.4.40, 7.4.12, and 8.0.12 improperly handle non-PHP files by interpolating lines directly into <code> elements without escaping, allowing an attacker to inject malicious scripts that execute when a developer views an attacker-controlled file in the profiler. This issue is fixed in Symfony versions 6.4.40, 7.4.12, and 8.0.12.

CVSS v4.0

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
Low
User Interaction
Active
Vuln. Confidentiality
None
Vuln. Integrity
None
Vuln. Availability
None
Subsq. Confidentiality
Low
Subsq. Integrity
Low
Subsq. Availability
None
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

Affected software

Ubuntu:16.04:LTSmore threats →ghsa
symfony
pkg:deb/ubuntu/[email protected]?arch=source&distro=xenial
Affected versions
=2.7.1+dfsg-1=2.7.5+dfsg-1=2.7.9+dfsg-1=2.7.9+dfsg-1ubuntu2=2.7.10-0ubuntu2
Ubuntu:Pro:18.04:LTSmore threats →ghsa
symfony
pkg:deb/ubuntu/[email protected]+dfsg-1ubuntu0.1+esm2?arch=source&distro=esm-apps/bionic
Affected versions
=2.8.7+dfsg-1.3ubuntu1=3.4.3+dfsg-1ubuntu4=3.4.6+dfsg-1=3.4.6+dfsg-1ubuntu0.1=3.4.6+dfsg-1ubuntu0.1+esm1=3.4.6+dfsg-1ubuntu0.1+esm2
Ubuntu:Pro:20.04:LTSmore threats →ghsa
symfony
pkg:deb/ubuntu/[email protected]+dfsg-1ubuntu1+esm2?arch=source&distro=esm-apps/focal
Affected versions
=4.3.4+dfsg-1ubuntu1=4.3.8+dfsg-1ubuntu1=4.3.8+dfsg-1ubuntu1+esm1=4.3.8+dfsg-1ubuntu1+esm2
Ubuntu:Pro:22.04:LTSmore threats →ghsa
symfony
pkg:deb/ubuntu/[email protected]+dfsg-1ubuntu8+esm1?arch=source&distro=esm-apps/jammy
Affected versions
=5.2.6+dfsg-1ubuntu7=5.4.4+dfsg-1ubuntu8=5.4.4+dfsg-1ubuntu8+esm1
Ubuntu:Pro:24.04:LTSmore threats →ghsa
symfony
pkg:deb/ubuntu/[email protected]+dfsg-3ubuntu3+esm1?arch=source&distro=esm-apps/noble
Affected versions
=5.4.23+dfsg-1ubuntu1=5.4.35+dfsg-3ubuntu1=6.4.5+dfsg-3ubuntu2=6.4.5+dfsg-3ubuntu3=6.4.5+dfsg-3ubuntu3+esm1
Ubuntu:25.10more threats →ghsa
symfony
pkg:deb/ubuntu/[email protected]+dfsg-1?arch=source&distro=questing
Affected versions
=6.4.18+dfsg-1ubuntu1=6.4.21+dfsg-2=6.4.21+dfsg-2ubuntu1=6.4.24+dfsg-1
Ubuntu:26.04:LTSmore threats →ghsa
symfony
pkg:deb/ubuntu/[email protected]+dfsg-1ubuntu1?arch=source&distro=resolute
Affected versions
=6.4.24+dfsg-1=7.4.5+dfsg-1ubuntu1=7.4.6+dfsg-2ubuntu1=7.4.7+dfsg-1ubuntu1

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/16/2026, 12:48:02 UTC

Technical Analysis

The vulnerability in Symfony affects the development profiler's file_excerpt Twig filter, which escapes PHP files using highlight_string() but fails to escape lines from non-PHP files, directly embedding them into <code> elements. This improper handling allows stored XSS attacks against developers who open attacker-crafted files such as var/log/dev.log in the profiler interface. The flaw is present in versions starting from 6.4.24 up to but excluding 6.4.40, 7.4.12, and 8.0.12. The issue has been addressed by fixing the escaping mechanism in the specified fixed versions.

Potential Impact

An attacker can inject malicious scripts into non-PHP files that are viewed by developers in the Symfony development profiler, leading to stored cross-site scripting attacks. This can result in execution of arbitrary scripts in the context of the developer's browser, potentially compromising developer sessions or exposing sensitive debugging information. The impact is limited to developers who open the attacker-controlled files in the profiler environment.

Mitigation Recommendations

A fix is available in Symfony versions 6.4.40, 7.4.12, and 8.0.12. Users should upgrade to these versions or later to remediate the vulnerability. No additional mitigations are specified by the vendor advisory.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
UBUNTU-CVE-2026-45072
Osv Schema Version
1.7.0
Aliases
[]
Ecosystems
["Ubuntu:16.04:LTS","Ubuntu:Pro:18.04:LTS","Ubuntu:Pro:20.04:LTS","Ubuntu:Pro:22.04:LTS","Ubuntu:Pro:24.04:LTS","Ubuntu:25.10","Ubuntu:26.04:LTS"]
Database Specific Severity
null
Cvss Version
4.0

Threat ID: 6a58b4ac68715ace43da9376

Added to database: 07/16/2026, 10:38:36 UTC

Last enriched: 07/16/2026, 12:48:02 UTC

Last updated: 07/16/2026, 12:48:02 UTC

Views: 2

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses