{"id":"GHSA-vvm3-rv48-j3g5","aliases":[],"status":"published","title":"Zendframework Potential XSS or HTML Injection vector in Zend_Json","description":"`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.","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-07T21:52:44Z","modified":"2024-06-07T21:52:45Z","fixes":[{"ecosystem":"Packagist","package":"zendframework/zendframework1","fixed_in":["1.7.9","1.8.5","1.9.7"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"Packagist","package":"zendframework/zendframework1","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.7.0"},{"fixed":"1.7.9"}]}]},{"source":"ghsa","ecosystem":"Packagist","package":"zendframework/zendframework1","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.8.0"},{"fixed":"1.8.5"}]}]},{"source":"ghsa","ecosystem":"Packagist","package":"zendframework/zendframework1","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.9.0"},{"fixed":"1.9.7"}]}]},{"source":"osv","ecosystem":"Packagist","package":"zendframework/zendframework1","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.7.0"},{"fixed":"1.7.9"}]}]},{"source":"osv","ecosystem":"Packagist","package":"zendframework/zendframework1","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.8.0"},{"fixed":"1.8.5"}]}]},{"source":"osv","ecosystem":"Packagist","package":"zendframework/zendframework1","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.9.0"},{"fixed":"1.9.7"}]}]}],"references":[{"url":"https://github.com/FriendsOfPHP/security-advisories/blob/master/zendframework/zendframework1/ZF2010-06.yaml","tags":["web"]},{"url":"https://web.archive.org/web/20200228150030/https://framework.zend.com/security/advisory/ZF2010-06","tags":["web"]},{"url":"https://github.com/advisories/GHSA-vvm3-rv48-j3g5"},{"url":"https://github.com/zendframework/zf1","tags":["package"]}],"sources":{"ghsa":[{"id":"GHSA-vvm3-rv48-j3g5","title":"Zendframework Potential XSS or HTML Injection vector in Zend_Json","description":"`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.\n\n","status":"published","published":"2024-06-07T21:52:44Z","modified":"2024-06-07T21:52:45Z","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-vvm3-rv48-j3g5","title":"Zendframework Potential XSS or HTML Injection vector in Zend_Json","description":"`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.\n\n","status":"published","published":"2024-06-07T21:52:44Z","modified":"2024-06-07T21:52:44Z","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:57.694388Z"}]}}
