Skip to main content

PHP CVE-2026-6735

| EUVDEUVD-2026-28967 HIGH
Cross-site Scripting (XSS) (CWE-79)
2026-05-07
7.3
CVSS 4.0 · Vendor
View

Attack ChainAIDerived

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

  1. Recon
    Craft XSS payload
  2. Delivery
    Inject via HTTP parameter/form
  3. Exploit
    Victim accesses malicious URL
  4. Install
    PHP renders unsanitized input
  5. C2
    Script executes in victim browser
  6. Execute
    Steal session tokens
  7. Impact
    Account takeover

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Execution

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

Exploitation Conditions

Exploitation requires user interaction (UI:P in CVSS vector) where a victim must access attacker-controlled content processed by the vulnerable PHP application - typically clicking a crafted link, viewing malicious user-generated content, or accessing a page containing attacker-injected data. Attack prerequisites (AT:P) suggest specific PHP feature usage or configuration is required, though exact conditions not detailed in available data - likely involves particular PHP functions for processing/rendering user input (e.g., echo, print, template engines) without escaping. No authentication required (PR:N) for the attacker to inject malicious payloads, though authentication requirements for victim access depend on application design. Limiting factors include: user must actively browse to or interact with attacker-controlled content (reduces opportunistic exploitation), application must use the specific vulnerable PHP feature (not all PHP 8.2 deployments equally exposed), and modern browser XSS protections may block some attack variants (though unreliable defense). Does NOT require non-default PHP configuration or administrator privileges, suggesting broad applicability across standard PHP 8.2.x deployments.

Impact

Real-world risk is MODERATE-HIGH despite the 7.3 CVSS score, with several limiting factors tempering urgency. The CVSS 4.0 vector reveals critical constraints: user interaction required (UI:P), attack prerequisites (AT:P), and maturity level of 'proof-of-concept' (E:P) rather than active weaponization. Automatable threat classification (AU:Y) indicates potential for automation once exploitation conditions are met, but the 'Amber' urgency designation (U:Amber) suggests non-critical timeframe for patching. Not present in CISA KEV database, indicating no confirmed widespread exploitation. The coordinated release of eight CVEs simultaneously (CVE-2026-6735, -7259, -6722, -7261, -7262, -7568, -7258 plus CVE-2025-14179) suggests proactive security hardening rather than emergency response to active attacks. Primary risk scenarios involve authenticated web applications where PHP processes and displays user input without sanitization, particularly in administrative interfaces or user-generated content platforms. Organizations running PHP 8.2.x should prioritize patching within vendor-recommended amber timeline, with higher urgency for internet-facing applications handling sensitive data or privileged operations.

Exploit ScenarioDerived

Attacker identifies a PHP 8.2.x application that processes user-supplied data through the vulnerable PHP function or feature. They craft a malicious payload containing JavaScript embedded in HTTP parameters, form fields, or uploaded content. When a legitimate user accesses the application, PHP processes the attacker's input and renders it into the HTML response without proper sanitization. The victim's browser executes the injected script, which exfiltrates session cookies to attacker-controlled infrastructure, enabling account takeover or performs actions on behalf of the victim such as modifying account settings or initiating unauthorized transactions. POC-level exploits (E:P per CVSS vector) may exist but are not publicly confirmed.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.0% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – May 10, 2026

Cross-site scripting (XSS) vulnerability in PHP 8.2.x (prior to 8.2.31) allows network-based attackers to inject malicious scripts that execute in victim browsers, compromising session tokens and potentially escalating to account takeover. Vendor-released patch (PHP 8.2.31) addresses this along with seven additional CVEs in a coordinated security release. CVSS 7.3 HIGH with user interaction required; exploitation status classified as POC-available per CVSS 4.0 vector (E:P), though public exploit code not independently verified at time of analysis.

RemediationAI

Upgrade to PHP 8.2.31 immediately, available from https://www.php.net/downloads.php with Windows binaries at https://www.php.net/downloads.php?os=windows&version=8.2. Full changelog at https://www.php.net/ChangeLog-8.php#8.2.31. The patched release addresses eight security vulnerabilities simultaneously, making this a high-priority update. Standard upgrade procedure: download appropriate package for your platform, verify GPG signatures, test in staging environment, then deploy to production. For organizations unable to upgrade immediately, implement input validation and output encoding at application layer: enforce strict Content Security Policy headers with 'nonce' or 'hash' directives to prevent inline script execution, apply context-aware output escaping (htmlspecialchars with ENT_QUOTES|ENT_HTML5 flags for HTML contexts), and validate/sanitize all user inputs before processing. Note that application-layer mitigations are incomplete substitutes for patching and introduce maintenance overhead; they only reduce attack surface for unknown XSS vectors while the vulnerability remains exploitable through PHP core functionality. Web Application Firewall (WAF) rules detecting common XSS patterns provide defense-in-depth but may be bypassed through encoding variations or context-specific attacks. Prioritize upgrading over workarounds.

Affected VersionsENISA

PHP 8.5.* <8.5.6
PHP 8.3.* <8.3.31
PHP 8.2.* <8.2.31
PHP 8.4.* <8.4.21

Affected Packages

euvd php_8_2 fix: 8.2.31
euvd php_8_3 fix: 8.3.31
euvd php_8_4 fix: 8.4.21
euvd php_8_5 fix: 8.5.6

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 4 packages in euvd

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

Technical ContextAI · show details

This is a CWE-79 cross-site scripting vulnerability affecting the PHP 8.2 branch, likely in core PHP functionality given its inclusion in a coordinated security release addressing eight distinct CVEs. XSS vulnerabilities in server-side interpreters like PHP typically arise from inadequate input sanitization or output encoding in built-in functions, allowing attackers to inject client-side scripts through server-rendered content. The CVSS 4.0 vector indicates network attack vector (AV:N) with low attack complexity (AC:L) but requires some attack prerequisites (AT:P) and user interaction (UI:P), suggesting the vulnerability manifests when user-supplied data passes through a specific PHP feature or function without proper escaping. The high confidentiality and integrity impacts on both vulnerable and subsequent systems (VC:H/VI:H/SC:H/SI:H with scope change S:P) indicate potential for session hijacking and cross-domain attacks beyond the immediate vulnerable application.

Know when PHP 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 (CNA) PRIMARY 7.3 HIGH
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:N/SC:H/SI:H/SA:N/E:P/S:P/AU:Y/RE:L/U:Amber
SUSE 6.1 MEDIUM
AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Red Hat 5.4 MEDIUM

Primary rating from Vendor (CNA).

CVSS VectorVendor

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
Passive
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
None
Subsequent system: Confidentiality
High
Subsequent system: Integrity
High
Subsequent system: Availability
None

Lifecycle Timeline

3
CVSS changed
May 10, 2026 - 05:22 NVD
7.3 (HIGH)
CVE Published
May 07, 2026 - 17:18 nvd
UNKNOWN (no severity yet)
CVE Published
May 07, 2026 - 17:18 nvd
HIGH 7.3

Description PRE-NVD

Disclosed via GitHub release of php/php-src. NVD scoring and full description are pending.

Executive ViewAI

Why It Matters

PHP 8.2 versions prior to 8.2.31 contain a reflected cross-site scripting (XSS) vulnerability that allows attackers to inject malicious scripts into user browsers, potentially compromising session tokens and enabling account takeover. Organizations running PHP 8.2.x should prioritize patching to 8.2.31 to eliminate this attack surface, particularly for web-facing applications handling user authentication.

Business Impact: High
Compensating Controls

Apply vendor patch to PHP 8.2.31. Interim mitigations pending patch deployment: implement strict input validation and output encoding in all user-facing forms, enforce Content Security Policy (CSP) headers to restrict script execution, and conduct security awareness training on phishing vectors that may accompany XSS attacks to lower successful exploitation probability.

Threat Intelligence Overview

EPSS Score
0.0%
Top 85% exploitable
Data Quality
8 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment MSRC Vendor GitHub VulDB

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 HIGH
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.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
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Partial

Priority Score

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

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

More in PHP

View all
CVE-2019-11043 CRITICAL POC
9.8 Oct 28

In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it

CVE-2012-1823 CRITICAL POC
9.8 May 11

sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not

CVE-2016-1555 CRITICAL POC
9.8 Apr 21

(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear

CVE-2018-11138 CRITICAL POC
9.8 May 31

The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by

CVE-2024-11680 CRITICAL POC
9.8 Nov 26

ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C

CVE-2025-49113 CRITICAL POC
9.9 Jun 02

Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au

CVE-2017-9841 CRITICAL POC
9.8 Jun 27

Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c

CVE-2025-0108 HIGH POC
8.8 Feb 12

Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers

CVE-2021-25298 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2021-25296 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2013-4983 CRITICAL POC
10.0 Sep 10

The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows

CVE-2023-6553 CRITICAL POC
9.8 Dec 15

The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1

Vendor StatusVendor

SUSE

Severity: Medium
Product Status
openSUSE Tumbleweed Fixed
SUSE Linux Enterprise Module for Web and Scripting 15 SP7 Affected
SUSE Linux Enterprise Server 15 SP7 Affected
SUSE Linux Enterprise Server for SAP Applications 15 SP7 Affected
SUSE Linux Enterprise High Performance Computing 15 SP7 Affected

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