CVE-2017-9841VulnerabilityPublished 02/15/2022Updated 10/24/2026
CVE-2017-9841: PHPUnit Command Injection Vulnerability
Affects PHPUnit PHPUnitSource CISA KEV
Severity
HighNo CVSS score published yet
- Exploitation
Actively exploited – in CISA KEV since 02/15/2022
- KEV deadline
- 08/15/2022
- EPSS
- 100.0% chance of exploitation in 30 days – higher than 99% of CVEs
What to do
CISA required action
Apply updates per vendor instructions.
Description
CVE-2017-9841 is a command injection vulnerability in PHPUnit that allows remote attackers to execute arbitrary PHP code via HTTP POST data starting with a "<?php " substring. This occurs when a site exposes the /vendor/phpunit/phpunit/src/Util/PHP/eval-stdin.php URI, enabling external access to this evaluation script. The vulnerability has been exploited in the wild.