{"id":"GHSA-vvm3-rv48-j3g5","summary":"Zendframework Potential XSS or HTML Injection vector in Zend_Json","details":"`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","modified":"2024-06-07T21:52:44Z","published":"2024-06-07T21:52:44Z","database_specific":{"github_reviewed":true,"github_reviewed_at":"2024-06-07T21:52:44Z","nvd_published_at":null,"cwe_ids":["CWE-79"],"severity":"MODERATE"},"references":[{"type":"WEB","url":"https://github.com/FriendsOfPHP/security-advisories/blob/master/zendframework/zendframework1/ZF2010-06.yaml"},{"type":"PACKAGE","url":"https://github.com/zendframework/zf1"},{"type":"WEB","url":"https://web.archive.org/web/20200228150030/https://framework.zend.com/security/advisory/ZF2010-06"}],"affected":[{"package":{"name":"zendframework/zendframework1","ecosystem":"Packagist","purl":"pkg:composer/zendframework/zendframework1"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.7.0"},{"fixed":"1.7.9"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/06/GHSA-vvm3-rv48-j3g5/GHSA-vvm3-rv48-j3g5.json"}},{"package":{"name":"zendframework/zendframework1","ecosystem":"Packagist","purl":"pkg:composer/zendframework/zendframework1"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.8.0"},{"fixed":"1.8.5"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/06/GHSA-vvm3-rv48-j3g5/GHSA-vvm3-rv48-j3g5.json"}},{"package":{"name":"zendframework/zendframework1","ecosystem":"Packagist","purl":"pkg:composer/zendframework/zendframework1"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.9.0"},{"fixed":"1.9.7"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/06/GHSA-vvm3-rv48-j3g5/GHSA-vvm3-rv48-j3g5.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"}]}