CVE-2017-9841: Code Injection in PHPUnit

critical KEV Affects phpunit/phpunit. Feed 2026.10.29.1, updated 2026-10-28; published ; advisory modified ; listed on CISA KEV 2022-02-15.

Code Injection in PHPUnit

Package
phpunit/phpunit Composer
Affected versions
>=4.8.19 and <4.8.28 or >=5.0.10 and <5.6.3
Fixed in
4.8.28, 5.6.3
Severity
critical  CVSS 9.8
Exploitation
KEV listed by CISA as actively exploited · EPSS 100% (100.0th percentile)
Published
2022-03-26
Source
osv.dev

References

CWE-94
NVD recordphpunit/phpunit advisories

Am I affected?

Find out in one command. phpwarden checks your composer.lock against this advisory and 20,000+ others, ranked by real-world exploitation (CISA KEV + EPSS). Free, offline, open data.

# one-time install
pip install phpwarden

# then
phpwarden deps composer.lock

Or keep it checked automatically: GitHub Action · pre-commit hook · GitLab CI · Laravel artisan command

Install docs   How findings are ranked

Related advisories