# GHSA-vvm3-rv48-j3g5: Zendframework Potential XSS or HTML Injection vector in Zend_Json

- Severity: Medium 6.1 (CVSS:3.1, scored by GitHub) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2024-06-07T21:52:44.000Z
- Modified: 2024-06-07T21:52:44.000Z
- Weaknesses: CWE-79

## 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.

(As written by GitHub Advisory Database.)

## Affected

- zendframework/zendframework1 (Packagist): from 1.7.0 before 1.7.9; from 1.8.0 before 1.8.5; from 1.9.0 before 1.9.7

## References

- <https://github.com/FriendsOfPHP/security-advisories/blob/master/zendframework/zendframework1/ZF2010-06.yaml> (web)
- <https://github.com/zendframework/zf1> (package)
- <https://web.archive.org/web/20200228150030/https://framework.zend.com/security/advisory/ZF2010-06> (web)

## Sources

- GitHub Advisory Database: [GHSA-vvm3-rv48-j3g5](https://github.com/advisories/GHSA-vvm3-rv48-j3g5), CC-BY-4.0, modified 2024-06-07

---

Page: https://cve.day/GHSA-vvm3-rv48-j3g5 · Whole record: https://cve.day/GHSA-vvm3-rv48-j3g5.json · Rebuilt by cve.day 2026-11-25T22:56:33.155Z
