ZendFramework vulnerable to Cross-site Scripting
Zend\Debug, Zend\Feed\PubSubHubbub, Zend\Log\Formatter\Xml, Zend\Tag\Cloud\Decorator, Zend\Uri, Zend\View\Helper\HeadStyle, Zend\View\Helper\Navigation\Sitemap, and Zend\View\Helper\Placeholder\Container\AbstractStandalone were not using Zend\Escaper when escaping HTML, HTML attributes, and/or URLs. While most were performing some escaping, because they were not using context-appropriate escaping mechanisms, they could potentially be exploited to perform Cross Site Scripting (XSS) attacks.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Composer package | zendframework/zendframework | >= 2.0.0, < 2.0.1 | 2.0.1 |
References
- https://github.com/zendframework/zendframework/commit/07d847b705911da6a15257f64895f69cab7ad50c
- https://github.com/zendframework/zendframework/commit/0a78cb2b633a618ac514eadef2c19ef78b1e12f2
- https://github.com/zendframework/zendframework/commit/27131ca9520bdf1d4c774c71459eba32f2b10733
- https://github.com/zendframework/zendframework/commit/6791343f8c8cd1948315a87eb15e16b57e08bc71
- https://github.com/zendframework/zendframework/commit/6f57175753a238388b4811b9b0786b6d5866a208
- https://github.com/zendframework/zendframework/commit/7f48d9edf82bcd7ece9d189d836682be83d08e91
- https://github.com/zendframework/zendframework/commit/a36406ddea52fd294b291310be00c526df6b713a
- https://github.com/zendframework/zendframework/commit/ad3628bc2c05c297af4492330885d49f373e1e91
- https://framework.zend.com/security/advisory/ZF2012-03
- https://github.com/FriendsOfPHP/security-advisories/blob/master/zendframework/zendframework/ZF2012-03.yaml
- https://github.com/zendframework/zendframework
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N- Weakness (CWE)
CWE-79- Platform
- Composer
- Package
zendframework/zendframework- Disclosed
- 07.06.2024
- Updated
- 11.10.2026 10:22
Sources and licenses
OSV / GitHub Advisory Database - GHSA-5gmf-3c43-q73v - CC BY 4.0
Vulnerability history: zendframework/zendframework
All published vulnerabilities of this package (Composer package), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 23
- First → latest
- 06.2021 06.2024
- Without a fix
- 1
- Exploited in attacks
- 0
Severity breakdown
- Critical 6
- High 7
- Medium 10
Disclosures per year
- 2021: 1
- 2022: 9
- 2023: 0
- 2024: 13
- 2025: 0
- 2026: 0
-
ZendFramework vulnerable to Cross-site Scripting this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.