GHSA-5gmf-3c43-q73v: 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.
Published Jun 7, 2024
Affected packages
zendframework/zendframework
- Ecosystem
- Composer (PHP)
- Affected
- >= 2.0.0, < 2.0.1
- Fixed in
- 2.0.1
- Check
composer show zendframework/zendframework
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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.
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/advisories/GHSA-5gmf-3c43-q73v
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More Composer (PHP) vulnerabilities
All Composer (PHP) entriesGHSA-2fhr-8r8r-qp56
ZendFramework Information Disclosure and Insufficient Entropy vulnerability
medium5.3Jun 7, 2024GHSA-62f6-h68r-3jpw
Zendframework session validation vulnerability
medium6.5Jun 7, 2024GHSA-8q77-cv62-jj38
Zendframework has potential Cross-site Scripting vector in multiple view helpers
medium6.1Jun 7, 2024GHSA-fh7r-58q4-6387
Zendframework URL Rewrite vulnerability
medium4.7Jun 7, 2024GHSA-gff2-p6vm-3p8g
ZendFramework potential remote code execution in zend-mail via Sendmail adapter
medium6.5Jun 7, 2024GHSA-jq87-2wxp-8349
ZendFramework Route Parameter Injection Via Query String in `Zend\Mvc`
high7.5Jun 7, 2024
