Skip to main content

JetBrains PhpStorm CVE-2026-123857

| EUVDEUVD-2026-118317 MEDIUM
Improper Restriction of XML External Entity Reference (CWE-611)
2026-11-06 JetBrains GHSA-x28h-qvqp-4h33
4.3
CVSS 3.1 · Vendor: JetBrains
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Deliver malicious project to developer
  2. Exploit
    Victim opens untrusted project in PhpStorm
  3. Execution
    PHPMD ruleset autodetection parses crafted XML entity
  4. Impact
    Disclose local file contents to attacker

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A02:2025 - Security Misconfiguration
ASVS 5.0
V13 - Configuration XML external entity prevention
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Collection

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires the victim developer to open an attacker-controlled 'untrusted' project in PhpStorm, and depends on the PHPMD ruleset autodetection feature parsing a crafted ruleset XML with external entity references. Limiting factors: mandatory user interaction (UI:R) - the malicious project must be opened; the attack is scoped to untrusted projects (PhpStorm's trusted-project model is the relevant boundary); and impact is limited to confidentiality (C:L), consistent with constrained local file read or out-of-band disclosure rather than arbitrary code execution. Updating to PhpStorm 2026.3 is the fix per the description.

Impact

This is a low-to-moderate severity issue (CVSS 4.3) whose real-world risk is constrained by its exploitation model rather than its CVSS attack-vector label. The supplied vector CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N shows no privileges required but mandatory user interaction (UI:R) and only limited confidentiality impact (C:L), with no integrity or availability impact - consistent with a CWE-611 XXE that enables bounded local file disclosure or out-of-band requests rather than code execution. The AV:N labeling is somewhat misleading for an IDE flaw: exploitation requires a developer to open an attacker-supplied ('untrusted') project, so delivery is network/social but the trigger is a local user action - verify the intended vector with JetBrains. No EPSS score was provided, the CVE is not on CISA KEV, and no PoC or exploit reference appears in the input, so there is no public evidence of exploitation. The vendor's own priority label is 'this_month' (not act_now/emergency), aligning with a patch-on-normal-cadence posture. Overall: a legitimate bug worth remediating in the regular update cycle for developer workstations, not an emergency.

Exploit ScenarioDerived

An attacker publishes or shares a malicious PHP project (e.g., via a public repository or supply-chain lure) containing a crafted PHPMD ruleset XML file. When a developer opens this untrusted project in a vulnerable PhpStorm version, the PHPMD ruleset autodetection parses the external entities, allowing the attacker to read local files or trigger out-of-band requests from the victim's machine. No public exploit identified at time of analysis.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 06, 2026

JetBrains PhpStorm builds before 2026.3 parse PHPMD ruleset XML during autodetection inside untrusted projects without suppressing external entity resolution, allowing an attacker who gets a developer to open a crafted project to read local files or force out-of-band requests (CWE-611, CVSS 4.3). The vector requires user interaction (UI:R) and is unauthenticated per the published CVSS vector, but impact is limited to confidentiality (C:L) - no integrity or availability effect and no code execution is described. Our assessment scores the attack vector as local (AV:L) rather than network, reflecting that the trigger is a developer opening a project in the IDE; a public PoC reference appears in the supplied data but is not verified as working exploit code, no CISA KEV entry applies, and the priority decision is this_month, so this is a scheduled-maintenance item rather than an emergency.

RemediationAI

Upgrade PhpStorm to 2026.3 or later, which is the fix identified in the advisory; verify the installed build through Help > About and confirm against the affected-build listing at https://www.jetbrains.com/privacy-security/issues-fixed/. Because the issue is scoped to untrusted projects, the trusted-project model is the relevant boundary during any window before the upgrade - the assessment notes exploitation depends on a developer opening an attacker-controlled project and having its PHPMD ruleset auto-detected, so keeping unknown projects outside that workflow limits exposure. The available sources document no separate configuration toggle, PHPMD setting or plugin-level workaround for this defect, and given the confidentiality-only impact (C:L) with mandatory user interaction and no KEV listing, remediation can be scheduled rather than emergency-deployed.

Affected VersionsENISA

PhpStorm 0 <2026.3

Affected Packages

euvd phpstorm fix: 2026.3

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The flaw is an XML External Entity (XXE) injection class issue (CWE-611) in PhpStorm's PHP Mess Detector integration. PHPMD is a PHP static-analysis tool configured through XML ruleset files, and PhpStorm autodetects those rulesets when a project is opened, feeding the discovered XML to a parser that - in affected builds - resolves external entity references instead of rejecting them. An attacker who supplies a project containing a crafted ruleset can therefore cause entity expansion to reference local files or remote endpoints, and the resulting data surfaces through parser errors or outbound requests, which is why the rating is confidentiality-only. The relevant security boundary is PhpStorm's trusted-project model: the issue is described specifically for untrusted projects, so the parsing path only matters when the project has not been marked trusted. The supplied CPE (cpe:2.3:a:jetbrains:phpstorm:*:*:*:*:*:*:*:*) covers all PhpStorm releases before 2026.3; the exact parser component and the precise code path that fails to disable DTD/external entity handling are not described in the available sources, and no configuration-specific behaviour beyond the untrusted-project scope is documented.

Know when Phpstorm gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (JetBrains) PRIMARY 4.3 MEDIUM
AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N
vuln.today AI 3.3 LOW

Trigger requires locally opening an attacker-supplied project (AV:L, UI:R); no auth needed (PR:N); XXE yields limited file disclosure (C:L) with no integrity or availability impact.

3.1 AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N
4.0 AV:L/AC:L/AT:N/PR:N/UI:A/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (JetBrains).

CVSS VectorVendor: JetBrains

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
Low
Integrity
None
Availability
None

Lifecycle Timeline

1
Patch available
Nov 06, 2026 - 17:18 EUVD

DescriptionCVE.org

In JetBrains PhpStorm before 2026.3 xXE was possible in untrusted projects via PHPMD ruleset autodetection

Threat Intelligence Overview

EPSS Score
0.3%
Top 83% exploitable
Prevalence
Medium
popular PHP IDE, but limited to developer workstations
Data Quality
4 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

22
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +22
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

XML External Entity (XXE) attacks exploit XML parsers that process Document Type Definitions (DTDs) without proper restrictions.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy