{"cve":"CVE-2017-9841","nvd":{"published":"2017-06-27T17:29:00.177","modified":"2026-06-17T01:29:01.517","status":"Analyzed","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8},"cwes":["CWE-94"],"references":["http://web.archive.org/web/20170701212357/http://phpunit.vulnbusters.com/","http://www.securityfocus.com/bid/101798","http://www.securitytracker.com/id/1039812","https://github.com/sebastianbergmann/phpunit/commit/284a69fb88a2d0845d23f42974a583d8f59bf5a5","https://github.com/sebastianbergmann/phpunit/pull/1956"],"products":["oracle:communications_diameter_signaling_router","phpunit_project:phpunit"],"source":"nvd","synced_at":"2026-10-19T20:43:44.556243339+00:00"},"epss":{"cve":"CVE-2017-9841","score":0.99999,"percentile":0.99994,"date":"2026-10-31"},"kev":{"cve":"CVE-2017-9841","date_added":"2022-02-15","due_date":"2022-08-15","vendor":"PHPUnit","product":"PHPUnit","known_ransomware":false},"osv":[],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}