GHSA-5gmf-3c43-q73v
ZendFramework vulnerable to Cross-site Scripting
Quick fix
GHSA-5gmf-3c43-q73v — zendframework/zendframework: upgrade to the fixed version with the command below.
composer require zendframework/zendframework:^2.0.1Details
`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.
Are you affected?
Enter the version of the package you're using.
Affected packages
2.0.0Fixed in: 2.0.1composer require zendframework/zendframework:^2.0.1References
- https://github.com/zendframework/zendframework/commit/07d847b705911da6a15257f64895f69cab7ad50c[WEB]
- https://github.com/zendframework/zendframework/commit/0a78cb2b633a618ac514eadef2c19ef78b1e12f2[WEB]
- https://github.com/zendframework/zendframework/commit/27131ca9520bdf1d4c774c71459eba32f2b10733[WEB]
- https://github.com/zendframework/zendframework/commit/6791343f8c8cd1948315a87eb15e16b57e08bc71[WEB]
- https://github.com/zendframework/zendframework/commit/6f57175753a238388b4811b9b0786b6d5866a208[WEB]
- https://github.com/zendframework/zendframework/commit/7f48d9edf82bcd7ece9d189d836682be83d08e91[WEB]
- https://github.com/zendframework/zendframework/commit/a36406ddea52fd294b291310be00c526df6b713a[WEB]
- https://github.com/zendframework/zendframework/commit/ad3628bc2c05c297af4492330885d49f373e1e91[WEB]
- https://framework.zend.com/security/advisory/ZF2012-03[WEB]
- https://github.com/FriendsOfPHP/security-advisories/blob/master/zendframework/zendframework/ZF2012-03.yaml[WEB]
- https://github.com/zendframework/zendframework[PACKAGE]
Check it before you install it
One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.
curl -s https://vdb.ai.kr/v1/ai/check-packages \
-H 'Content-Type: application/json' \
-d '{"packages":["pkg:composer/zendframework/zendframework"]}'