{"id":"GHSA-gvpp-6jrj-5pqc","aliases":[],"url":"https://o3.security/vulnerability/GHSA-gvpp-6jrj-5pqc","summary":"Zend-Form 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-07T21:58:34Z","modified":"2024-12-04T05:40:19.051789Z","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/zend-form","fixedVersion":"2.2.7"},{"ecosystem":"Packagist","name":"zendframework/zend-form","fixedVersion":"2.3.1"}],"fix":{"url":"https://github.com/zendframework/zend-form/commit/6fe40314e8e3477494aadd03d62573bd1c212bd1","label":"zendframework/zend-form@6fe4031"},"references":[{"type":"WEB","url":"https://github.com/zendframework/zend-form/commit/6fe40314e8e3477494aadd03d62573bd1c212bd1"},{"type":"WEB","url":"https://github.com/zendframework/zend-form/commit/d7a1f5bc4626b1df990391502a868b28c37ba65d"},{"type":"WEB","url":"https://github.com/zendframework/zend-form/commit/fd43a951460c4bc60c77a566129705f6bdb9c61b"},{"type":"WEB","url":"https://framework.zend.com/security/advisory/ZF2014-03"},{"type":"WEB","url":"https://github.com/FriendsOfPHP/security-advisories/blob/master/zendframework/zend-form/ZF2014-03.yaml"},{"type":"PACKAGE","url":"https://github.com/zendframework/zend-form"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2024-12-04T05:40:19.051789Z"}}