{"id":"GHSA-rh3c-7wqx-6w95","summary":"zend-diactoros Cross-site Scripting (XSS)","details":"`Zend/Diactoros/Uri::filterPath` in zend-diactoros before 1.0.4 does not properly sanitize path input, which allows remote attackers to perform cross-site scripting (XSS) or open redirect attacks.","aliases":["CVE-2015-3257"],"modified":"2024-04-23T23:26:46.955379Z","published":"2022-05-17T01:22:50Z","database_specific":{"github_reviewed_at":"2024-04-23T23:12:03Z","nvd_published_at":"2017-08-25T18:29:00Z","cwe_ids":["CWE-79"],"severity":"MODERATE","github_reviewed":true},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2015-3257"},{"type":"WEB","url":"https://framework.zend.com/security/advisory/ZF2015-05"},{"type":"WEB","url":"https://github.com/FriendsOfPHP/security-advisories/blob/master/zendframework/zend-diactoros/CVE-2015-3257.yaml"},{"type":"PACKAGE","url":"https://github.com/zendframework/zend-diactoros"},{"type":"WEB","url":"http://www.securityfocus.com/bid/75466"}],"affected":[{"package":{"name":"zendframework/zend-diactoros","ecosystem":"Packagist","purl":"pkg:composer/zendframework/zend-diactoros"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.0.0"},{"fixed":"1.0.4"}]}],"versions":["1.0.0","1.0.1","1.0.2","1.0.3"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-rh3c-7wqx-6w95/GHSA-rh3c-7wqx-6w95.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"}]}