GHSA-7qg2-v9fj-4mwv / CVE-2026-6735: XSS within PHP-FPM status endpoint
- Published:
- Fetched:
- Updated:
- Affects:
- php PHP-FPM
https://github.com/php/php-src/security/advisories/GHSA-7qg2-v9fj-4mwv ↗
XSS within PHP-FPM status endpoint Improper sanitization of the request URI within the PHP-FPM status page allows an attacker to execute arbitrary JavaScript code (XSS) on the victims machine, possibly stealing cookies on insufficiently hardened systems, or stealing other sensitive data such as the information from the status page itself. An attacker does not require authentication or access to the `/status` endpoint in order to trigger XSS, but may simply visit a URI embedding the malicious code. 1. Navigate to `example.com/` 2. Navigate to `example.com/status?full&html` 3. Observe the JavaScript pop-up. The same is possible for the XML endpoint, possibly embedding malicious XML nodes into the status report. 1. Navigate to `example.com/<` 2. Navigate to `example.com/status?full&xml` 3. Observe the XML parsing error. Affected packages: php:PHP-FPM Patched: PHP-FPM 8.2.31, PHP-FPM 8.3.31, PHP-FPM 8.4.21, PHP-FPM 8.5.6