CVE-2026-123857

Local XML External Entity Vulnerability via PHPMD Ruleset Autodetection in PhpStorm

Published Nov 6, 2026 CVSS 3.1 · 4.3 Medium EPSS < 1% KEV · Not listed
Description
In JetBrains PhpStorm before 2026.3 xXE was possible in untrusted projects via PHPMD ruleset autodetection

Analysis

AI-generated

Technical impact

JetBrains PhpStorm versions prior to 2026.3 allowed the PHPMD ruleset autodetection feature to parse and process XML files from untrusted project directories. This parsing enabled XML External Entity (XXE) processing, potentially allowing a local attacker to read arbitrary files or retrieve sensitive data from the build environment. The weakness is identified as CWE‑611 and could lead to information disclosure if malicious XML is provided with an untrusted project file.

Affected Systems

JetBrains PhpStorm, all releases before 2026.3 are affected. Users running any older version should verify that they are not using a successor build, as newer releases have disabled the unsafe autodetection logic.

Risk and Exploitability

The CVSS base score of 4.3 indicates a low‑moderate risk level. Because the vulnerability requires a user to open a malicious project in the IDE, the attack vector is local and does not involve network exploitation. EPSS is not available, and the vulnerability is not listed in the CISA KEV catalog, suggesting no publicly known exploitation at this time. Nonetheless, development teams that handle untrusted project files from external sources should be vigilant, as a local XXE could expose sensitive files such as configuration or credential data.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade JetBrains PhpStorm to version 2026.3 or later, which removes the unsafe PHPMD ruleset autodetection.
  • Disable PHPMD ruleset autodetection in the IDE settings to eliminate the vulnerability if upgrade cannot be performed immediately.
  • Avoid opening untrusted project directories that may contain malicious XML files until the software is upgraded or the autodetection feature is disabled.

Generated by OpenCVE AI on November 6, 2026 at 18:25 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Title Local XML External Entity Vulnerability via PHPMD Ruleset Autodetection in PhpStorm
Type Values Removed Values Added
First Time appeared Jetbrains
Jetbrains phpstorm
Vendors & Products Jetbrains
Jetbrains phpstorm
Type Values Removed Values Added
Description In JetBrains PhpStorm before 2026.3 xXE was possible in untrusted projects via PHPMD ruleset autodetection
Weaknesses CWE-611
References
Metrics cvssV3_1

{'score': 4.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N'}

Weaknesses
  • CWE-611

    Improper Restriction of XML External Entity Reference

Sources

Status
PUBLISHED
Assigner
JetBrains
Published
Updated
Nov 6, 2026, 4:45 PM
Reserved
Nov 6, 2026, 4:05 PM
Status
Awaiting Analysis
Published
Nov 6, 2026, 5:17 PM
Modified
Nov 6, 2026, 8:20 PM