{"id":"GHSA-8q77-cv62-jj38","aliases":[],"url":"https://o3.security/vulnerability/GHSA-8q77-cv62-jj38","summary":"Zendframework has potential Cross-site Scripting vector in multiple view helpers","details":"Many Zend Framework 2 view helpers were using the `escapeHtml()` view helper in order to escape HTML attributes, instead of the more appropriate `escapeHtmlAttr()`. In situations where user data and/or JavaScript is used to seed attributes, this can lead to potential cross site scripting (XSS) attack vectors.\n\nVulnerable view helpers include:\n\n- All `Zend\\Form` view helpers.\n- Most `Zend\\Navigation` (aka `Zend\\View\\Helper\\Navigation\\*`) view helpers.\n- All \"HTML Element\" view helpers: `htmlFlash()`, `htmlPage()`, `htmlQuickTime()`.\n- `Zend\\View\\Helper\\Gravatar`","published":"2024-06-07T20:04:04Z","modified":"2024-12-04T05:44:45.504618Z","cvss":{"score":6.1,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"Packagist","name":"zendframework/zendframework","fixedVersion":"2.2.7"},{"ecosystem":"Packagist","name":"zendframework/zendframework","fixedVersion":"2.3.1"}],"fix":{"url":"https://github.com/zendframework/zendframework/commit/1dd4f8cede07469390eef1e629f808349fa1b5ea","label":"zendframework/zendframework@1dd4f8c"},"references":[{"type":"WEB","url":"https://github.com/zendframework/zendframework/commit/1dd4f8cede07469390eef1e629f808349fa1b5ea"},{"type":"WEB","url":"https://github.com/zendframework/zendframework/commit/6742ddad7a7923163cea6dd58d27d0e946a402d1"},{"type":"WEB","url":"https://framework.zend.com/security/advisory/ZF2014-03"},{"type":"WEB","url":"https://github.com/FriendsOfPHP/security-advisories/blob/master/zendframework/zendframework/ZF2014-03.yaml"},{"type":"PACKAGE","url":"https://github.com/zendframework/zendframework"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2024-12-04T05:44:45.504618Z"}}