CVE-2026-6735

XSS within PHP-FPM status endpoint

Published May 10, 2026 CVSS 4.0 · 7.3 High EPSS < 1% KEV · Not listed
Description
In PHP versions 8.2.* before 8.2.31, 8.3.* before 8.3.31, 8.4.* before 8.4.21, 8.5.* before 8.5.6, due to improper sanitation of user data, it allows an attacker to compose an URL, which will cause the target to execute arbitrary JavaScript code (XSS) on the target's machine when the target is viewing the PHP-FPM status page.

Analysis

AI-generated

Technical impact

The flaw involves improper sanitation of user data within the PHP‑FPM status endpoint. When an attacker crafts a malicious URL, visiting the status page causes the target's browser to execute arbitrary JavaScript. This allows the attacker to run code in the context of any user who views the page, potentially stealing cookies, session identifiers or performing further actions impersonating that user.

Affected Systems

The vulnerability affects PHP Group’s PHP implementation in versions 8.2.x before 8.2.31, 8.3.x before 8.3.31, 8.4.x before 8.4.21 and 8.5.x before 8.5.6. Systems running any of these releases that expose the PHP‑FPM status page to users are impacted.

Risk and Exploitability

The CVSS score of 7.3 classifies this as a high‑severity issue. EPSS data is not available, so the likelihood of exploitation cannot be quantified precisely. The vulnerability is not listed in CISA KEV, indicating no known widespread exploitation yet. The attack vector is inferred to be local or remote depending on whether the status page is publicly accessible; an attacker must be able to supply the crafted URL and have a victim view the page to benefit from the XSS.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade PHP to the minimum supported patch version for the running release (8.2.31, 8.3.31, 8.4.21 or 8.5.6).
  • If an upgrade is not immediately feasible, restrict or disable the PHP‑FPM status endpoint by updating the pool configuration or using firewall rules to prevent unauthenticated access.
  • As a temporary measure, apply local output escaping or a custom filter to the status page output to ensure all injected data is properly sanitized.

Generated by OpenCVE AI on May 10, 2026 at 05:24 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-4586-1 php7.4 security update
Debian DSA Debian DSA DSA-6255-1 php8.2 security update
Debian DSA Debian DSA DSA-6256-1 php8.4 security update
Ubuntu USN Ubuntu USN USN-8336-1 PHP vulnerabilities
History
Type Values Removed Values Added
First Time appeared Php
Php php
CPEs cpe:2.3:a:php:php:*:*:*:*:*:*:*:*
Vendors & Products Php
Php php
Metrics cvssV3_1

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

Type Values Removed Values Added
Metrics ssvc

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

Type Values Removed Values Added
First Time appeared Php Group
Php Group php
Vendors & Products Php Group
Php Group php
Type Values Removed Values Added
Description In PHP versions 8.2.* before 8.2.31, 8.3.* before 8.3.31, 8.4.* before 8.4.21, 8.5.* before 8.5.6, due to improper sanitation of user data, it allows an attacker to compose an URL, which will cause the target to execute arbitrary JavaScript code (XSS) on the target's machine when the target is viewing the PHP-FPM status page.
Title XSS within PHP-FPM status endpoint
Weaknesses CWE-79
References
Metrics cvssV4_0

{'score': 7.3, 'vector': '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'}

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Sources

Status
PUBLISHED
Assigner
php
Published
Updated
May 11, 2026, 1:25 PM
Reserved
Apr 21, 2026, 12:39 AM
Status
Analyzed
Published
May 10, 2026, 5:16 AM
Modified
Jul 24, 2026, 8:10 AM
Severity
Moderate
Public date
May 10, 2026, 3:27 AM