Skip to content
NewA calmer, faster ZeroHour

CVE-2026-129292

Stored XSS in PHP-FPM status output via unescaped fields

CVSS 4.0
5.3 medium
EPSS
—
Published
·
Modified
Analyze CVE-2026-129292 with Vani AIImpact, affected versions, exploitation status, mitigations and detection

PHP-FPM full status output includes each worker’s request method, authentication user, and script filename without escaping them for HTML, XML, or JSON. With the status endpoint enabled, an unauthenticated remote attacker can store markup in a scoreboard entry using an ordinary request, such as an HTTP Basic username the web server forwards or an attacker-influenced script filename. Viewing the full status page as HTML runs that script in the page’s origin. The attacker need not reach the status endpoint. Bad XML or JSON can also break monitoring tools. PHP 8.2 through 8.5 before the listed fixes are affected.

What to do: Upgrade PHP to 8.2.36, 8.3.37, 8.4.28, or 8.5.13 for the branch in use.

ProductAffectedFixed in
PHP8.2.* before 8.2.36, 8.3.* before 8.3.37, 8.4.* before 8.4.28, 8.5.* before 8.5.138.2.36, 8.3.37, 8.4.28, 8.5.13
Estimated exposure
nicheunknown; only FPM status pages — Needs the PHP-FPM status endpoint enabled and a user opening the HTML status page.

Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.

Description · NVD

PHP-FPM status endpoint XSS via unescaped user and script fields. The PHP-FPM full status output includes the request method, authentication user and script filename of each worker without escaping them for the HTML, XML or JSON format. When the status endpoint is enabled, an unauthenticated remote attacker can store markup in a worker's scoreboard entry with an ordinary request, for example through the username of an HTTP Basic authentication header that the web server forwards to PHP-FPM, or through the script filename where the attacker can influence it. When a user views the full status page as HTML, the injected JavaScript runs in the origin of that page. The attacker does not need access to the status endpoint. Malformed XML or JSON output can also disrupt monitoring tools. This issue affects PHP versions before 8.2.36, 8.3.* before 8.3.37, 8.4.* before 8.4.28 and 8.5.* before 8.5.13.

Weakness
CWE-79
Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

In the news

2 stories