CVE-2015-3257Zend Diactoros
Medium 6.1 No auth needed
Follow: this CVE · Zend · Zend Diactoros We alert you by email or Slack (account required).
- Priority
- 52
- CVSS 3.0
- 6.1
- EPSS
- 0.9% probability of exploitation in 30 days · percentile 61
- Auth required
- No
- Published
- Aug 25, 2017
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-79
- Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
What happens
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.
What to do
- Apply the vendor's security update for Diactoros.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Packagist | zendframework/zend-diactoros |
≥ 1.0.0 < 1.0.4 |
1.0.4 |
composer require "zendframework/zend-diactoros:^1.0.4" |
Per OSV / GitHub Advisories (GHSA-rh3c-7wqx-6w95). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| zend | diactoros | ≤ 1.0.3 |
Official sources
References
Links published by the sources. Open them with care.
- www.securityfocus.com Third Party Advisory VDB Entry
- framework.zend.com Vendor Advisory