{"vuln_id":"CVE-2017-9841","aliases":[],"description":"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 site with an exposed /vendor folder, i.e., external access to the /vendor/phpunit/phpunit/src/Util/PHP/eval-stdin.php URI.","published_at":"2017-06-27T17:29:00.177000Z","modified_at":"2026-06-17T01:29:01.517000Z","first_seen_at":"2026-11-22T19:20:10.868445Z","severity":"critical","severity_source":"nvd","cvss_score":9.8,"cvss_vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","cwe":["CWE-94"],"vendor":"PHPUnit","product":"PHPUnit","kev":{"is_kev":true,"date_added":"2022-02-15","due_date":"2022-08-15","ransomware":false},"epss":0.99999,"epss_percentile":0.99997,"nvd_status":"Analyzed","enriched_at":"2026-11-23T00:48:56.547988Z","links":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2017-9841"},"matched_alias":null,"items":[{"id":14294,"source":{"id":"cisa-kev","name":"CISA Known Exploited Vulnerabilities"},"title":"CVE-2017-9841 added to KEV: PHPUnit Command Injection Vulnerability","summary":"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.\nRequired action: Apply updates per vendor instructions.\nDue date: 2022-08-15","url":"https://cisa.gov/known_exploited_vulnerabilities_catalog?search_api_fulltext=CVE-2017-9841","published_at":"2022-02-15T00:00:00Z","updated_at":null,"fetched_at":"2026-11-22T19:20:09.656860Z","severity":"critical","cvss_score":9.8,"epss":0.99999,"is_kev":true,"has_exploit":true,"kev_due_date":"2022-08-15","vendor":"PHPUnit","product":"PHPUnit","vuln_id":"CVE-2017-9841","vuln_ids":["CVE-2017-9841"],"tags":["kev"],"cluster_id":13316,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/14294","html":"https://vulnwatch.ve1ve2.com/item/14294"}}]}