{"id":"GHSA-vvm3-rv48-j3g5","aliases":["GHSA-vvm3-rv48-j3g5"],"related":[],"kind":"vulnerability","state":"published","title":"Zendframework Potential XSS or HTML Injection vector in Zend_Json","summary":"`Zend_Json_Encoder` was not taking into account the solidus character (/) during encoding, leading to incompatibilities with the JSON specification, and opening the potential for XSS or HTML injection attacks when returning HTML within a JSON string.","summaryFormat":"markdown","summarySource":"ghsa","descriptions":[{"lang":"en","text":"`Zend_Json_Encoder` was not taking into account the solidus character (/) during encoding, leading to incompatibilities with the JSON specification, and opening the potential for XSS or HTML injection attacks when returning HTML within a JSON string.","format":"markdown","source":"ghsa"}],"published":"2024-06-07T21:52:44.000Z","modified":"2024-06-07T21:52:44.000Z","severity":{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"type":"ecosystem","introduced":"1.7.0","status":"affected","fixed":"1.7.9"}],"ecosystem":"Packagist","package":"zendframework/zendframework1","purl":"pkg:composer/zendframework/zendframework1","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"1.8.0","status":"affected","fixed":"1.8.5"}],"ecosystem":"Packagist","package":"zendframework/zendframework1","purl":"pkg:composer/zendframework/zendframework1","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"1.9.0","status":"affected","fixed":"1.9.7"}],"ecosystem":"Packagist","package":"zendframework/zendframework1","purl":"pkg:composer/zendframework/zendframework1","source":"ghsa"}],"references":[{"url":"https://github.com/FriendsOfPHP/security-advisories/blob/master/zendframework/zendframework1/ZF2010-06.yaml","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/zendframework/zf1","tags":["package"],"sources":["ghsa"]},{"url":"https://web.archive.org/web/20200228150030/https://framework.zend.com/security/advisory/ZF2010-06","tags":["web"],"sources":["ghsa"]}],"credits":[],"sources":[{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-vvm3-rv48-j3g5","url":"https://github.com/advisories/GHSA-vvm3-rv48-j3g5","licence":"CC-BY-4.0","modified":"2024-06-07T21:52:44.000Z"}],"updatedAt":"2026-11-25T22:56:33.155Z"}