Phpunit vulnerabilitiesAnd the versions its exploited flaws hit.

Product1 known exploited923 versions
The short answer

Phpunit is made by Phpunit Project. We track 2 published vulnerabilities in it, across 923 versions. 1 of them is on the list of flaws known to be exploited, the newest added on 15 February 2022. If you run Phpunit, check your version against the exploited flaws below and patch those first.

Check your version

The most recent Phpunit flaw added to the known-exploited list is CVE-2017-9841, on 15 February 2022. We keep watching the known-exploited list.

Versions

Which versions of Phpunit do the exploited flaws hit?

Each exploited flaw lists the versions it affects, usually as ranges. "5.0.0 to before 5.6.3" means from 5.0.0 up to, but not including, 5.6.3. Find your version, then patch.

  • CVE-2017-9841Exploited list, 15 Feb 2022

    PHPUnit Command Injection Vulnerability

    up to 4.8.275.0.0 to before 5.6.3
Known exploited

Which Phpunit vulnerabilities are being exploited?

1 flaw is on the government list of vulnerabilities known to be exploited. These are the ones criminals are using now, so they go first, whatever their severity score says.

  1. 9.8
    CVE-2017-9841CriticalKnown exploited
    PHPUnit Command Injection Vulnerability

    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...

    Chance of use>99%Known exploited since15 Feb 2022
Exploit likelihood

Which Phpunit flaws are most likely to be used?

Ranked by the latest exploit-likelihood forecast: the chance each flaw is used in an attack in the next 30 days. A high severity score on its own doesn't tell you that. Flaws shared by many other makers' products are left out.

50% or more10% to 49%Under 10%
  1. >99%
    CVE-2017-9841CriticalKnown exploited

    Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 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...

    CVSS9.8Published27 Jun 2017
  2. 1.4%

    Cross-site scripting (XSS) vulnerability in the PHPUnit extension before 3.5.15 for TYPO3 allows remote attackers to inject arbitrary web script or HTML via unspecified vectors.

    CVSS4.3Published1 Jul 2013
Precursor Intelligence

Running Phpunit? We'll keep checking.

Looking flaws up one at a time doesn't scale. Tell us what you run once, and we tell you which flaws matter to you, in what order, and keep watching for new ones.

  1. Tell us what you runPick your software from a list, or let us work it out from your website.
  2. We match it to every flawOver 400,000 published flaws, checked against your list.
  3. Ranked by real-world riskA 0 to 100 score, led by evidence criminals are using it.
  4. Told as soon as we knowAn alert by email, in the app or by webhook to your own tools.

Free plan, no card needed. Nothing to install.

FAQ

Common questions, answered plainly.

Something else? Talk to the team →

We track 2 published vulnerabilities listed under the name Phpunit, across 923 versions. The most recent Phpunit flaw added to the known-exploited list is CVE-2017-9841, on 15 February 2022.

1 is on the list of flaws known to be exploited. The most recently added is CVE-2017-9841.

Each flaw names its own versions, usually as ranges. The newest, CVE-2017-9841, affects up to 4.8.27, 5.0.0 to before 5.6.3. The versions for every exploited flaw are listed on this page.

Create a Precursor Intelligence account and track Phpunit. We match it against every published flaw, give each one a risk score from 0 to 100 and keep watching, so you hear about new ones as soon as we know, by email, in the app or by webhook.