ACTIVELY EXPLOITED
CVE-2017-9841: PHPUnit Command Injection Vulnerability
| Vendor | PHPUnit |
|---|---|
| Product | PHPUnit |
| Actively exploited | Yes |
| Added to CISA KEV | 15 Feb 2022 |
| CISA federal deadline | 15 Aug 2022 |
| Weakness (CWE) | CWE-94 |
Required action (CISA's text)
Apply updates per vendor instructions.
Description (NVD)
PHPUnit allows remote attackers to execute arbitrary PHP code via HTTP POST data beginning with a "<?php " substring, as demonstrated by an attack on a site with an exposed /vendor folder, i.e., external access to the /vendor/phpunit/phpunit/src/Util/PHP/eval-stdin.php URI.
SOURCES
Data from NVD, CISA KEV, FIRST EPSS and vendor advisories. Updated 10 Nov 2026.