Описание
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.
A flaw was found in PHP. A cross-site scripting (XSS) vulnerability in the FastCGI Process Manager (PHP-FPM) status endpoint allows a remote attacker to execute arbitrary script code in a victim's web browser session. This issue occurs because the status endpoint fails to properly sanitize or escape user and script fields before rendering them. When a user or administrator views the status page, the injected script executes, potentially compromising sensitive session data or performing unauthorized actions.
Затронутые пакеты
| Платформа | Пакет | Состояние | Рекомендация | Релиз |
|---|---|---|---|---|
| Red Hat Enterprise Linux 6 | php | Out of support scope | ||
| Red Hat Enterprise Linux 10 | php8.4 | Fixed | RHSA-2026:100821 | 20.11.2026 |
| Red Hat Enterprise Linux 10 | php | Fixed | RHSA-2026:102300 | 23.11.2026 |
| Red Hat Enterprise Linux 10.2 Extended Update Support | php8.4 | Fixed | RHSA-2026:101251 | 21.11.2026 |
| Red Hat Enterprise Linux 7 Extended Lifecycle Support | php | Fixed | RHSA-2026:101337 | 22.11.2026 |
| Red Hat Enterprise Linux 8 | php | Fixed | RHSA-2026:100991 | 21.11.2026 |
| Red Hat Enterprise Linux 8 | php | Fixed | RHSA-2026:101276 | 22.11.2026 |
| Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support | php | Fixed | RHSA-2026:102823 | 24.11.2026 |
| Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-On | php | Fixed | RHSA-2026:102823 | 24.11.2026 |
| Red Hat Enterprise Linux 8.8 Telecommunications Update Service | php | Fixed | RHSA-2026:102713 | 24.11.2026 |
Показывать по
Дополнительная информация
Статус:
EPSS
6.1 Medium
CVSS3
Связанные уязвимости
PHP-FPM can include attacker-controlled request metadata without escaping it in the full status response. An unauthenticated attacker can place HTML or JavaScript in a worker's scoreboard entry and execute it in the browser of an operator who later views the full HTML status page. The attacker does not need access to the status endpoint.
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.
PHP-FPM status endpoint XSS via unescaped user and script fields. The ...
PHP-FPM status endpoint XSS via unescaped user and script fields
EPSS
6.1 Medium
CVSS3