packagist package report

Is phpunit/phpunit safe?

4 known vulnerabilities, worst severity CRITICAL.

cvss
9.8

how bad it is if exploited, out of 10

epss
100.0%

chance of exploitation in the next 30 days

xyz score
7.3

CyberXYZ composite, out of 10

fig. 01 — GHSA-r7c9-c69m-rph8, the advisory selected below

// advisories

GHSA-r7c9-c69m-rph8

CRITICALCVE-2017-9841

Util/PHP/eval-stdin.php in PHPUnit starting with 4.8.19 and before 4.8.28, as well as 5.x before 5.6.3, 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.

Affected
>= 4.8.19, < 4.8.28
Fixed in
4.8.28
Weakness
CWE-94
Published
2022-03-26
Source
github

GHSANVDMITREreferencereferencereferencereferencereferencereferencereferencereferencereference


// ai model usage

Tracked for PyPI packages. HuggingFace models declare Python dependencies, so packagist packages are not covered.


Checked 2026-09-22 at 01:28 UTC. The most recent advisory here was published 2026-04-22. Updated continuously from NVD, GHSA, OSV and CNA feeds.

Think a verdict here is wrong? Tell us — we respond within 2 business days.
Is phpunit/phpunit safe? packagist package security report | CyberXYZ