{"id":"GHSA-5gmf-3c43-q73v","aliases":[],"status":"published","title":"ZendFramework vulnerable to Cross-site Scripting","description":"`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.","severity":{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium","from":"ghsa"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-79"],"published":"2024-06-07T20:50:55Z","modified":"2024-12-04T05:34:54Z","fixes":[{"ecosystem":"Packagist","package":"zendframework/zendframework","fixed_in":["2.0.1"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"Packagist","package":"zendframework/zendframework","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.0.0"},{"fixed":"2.0.1"}]}]},{"source":"osv","ecosystem":"Packagist","package":"zendframework/zendframework","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.0.0"},{"fixed":"2.0.1"}]}],"versions":["2.0.0"]}],"references":[{"url":"https://github.com/zendframework/zendframework/commit/07d847b705911da6a15257f64895f69cab7ad50c","tags":["web"]},{"url":"https://github.com/zendframework/zendframework/commit/0a78cb2b633a618ac514eadef2c19ef78b1e12f2","tags":["web"]},{"url":"https://github.com/zendframework/zendframework/commit/27131ca9520bdf1d4c774c71459eba32f2b10733","tags":["web"]},{"url":"https://github.com/zendframework/zendframework/commit/6791343f8c8cd1948315a87eb15e16b57e08bc71","tags":["web"]},{"url":"https://github.com/zendframework/zendframework/commit/6f57175753a238388b4811b9b0786b6d5866a208","tags":["web"]},{"url":"https://github.com/zendframework/zendframework/commit/7f48d9edf82bcd7ece9d189d836682be83d08e91","tags":["web"]},{"url":"https://github.com/zendframework/zendframework/commit/a36406ddea52fd294b291310be00c526df6b713a","tags":["web"]},{"url":"https://github.com/zendframework/zendframework/commit/ad3628bc2c05c297af4492330885d49f373e1e91","tags":["web"]},{"url":"https://framework.zend.com/security/advisory/ZF2012-03","tags":["web"]},{"url":"https://github.com/FriendsOfPHP/security-advisories/blob/master/zendframework/zendframework/ZF2012-03.yaml","tags":["web"]},{"url":"https://github.com/advisories/GHSA-5gmf-3c43-q73v"},{"url":"https://github.com/zendframework/zendframework","tags":["package"]}],"sources":{"ghsa":[{"id":"GHSA-5gmf-3c43-q73v","title":"ZendFramework vulnerable to Cross-site Scripting","description":"`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.","status":"published","published":"2024-06-07T20:50:55Z","modified":"2024-06-07T20:50:56Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:37:53.703286Z"}],"osv":[{"id":"GHSA-5gmf-3c43-q73v","title":"ZendFramework vulnerable to Cross-site Scripting","description":"`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.","status":"published","published":"2024-06-07T20:50:55Z","modified":"2024-12-04T05:34:54.323554Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T15:46:38.213481Z"}]}}
