{"id":"GHSA-6v7p-5qcq-268c","aliases":[],"url":"https://o3.security/vulnerability/GHSA-6v7p-5qcq-268c","summary":"Zend-Navigation vulnerable to Cross-site Scripting","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-07T22:06:01Z","modified":"2024-12-04T05:41:22.936608Z","cvss":{"score":7.5,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"Packagist","name":"zendframework/zend-navigation","fixedVersion":"2.2.7"},{"ecosystem":"Packagist","name":"zendframework/zend-navigation","fixedVersion":"2.3.1"}],"fix":null,"references":[{"type":"WEB","url":"https://framework.zend.com/security/advisory/ZF2014-03"},{"type":"WEB","url":"https://github.com/FriendsOfPHP/security-advisories/blob/master/zendframework/zend-navigation/ZF2014-03.yaml"},{"type":"PACKAGE","url":"https://github.com/zendframework/zend-navigation"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2024-12-04T05:41:22.936608Z"}}