Live threats

All CVEs / Zend

CVE-2015-3257Zend Diactoros

Medium 6.1 No auth needed

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Diactoros.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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)

VendorProductVersions
zenddiactoros≤ 1.0.3

Official sources

References

Links published by the sources. Open them with care.