GHSA-vvm3-rv48-j3g5
MEDIUM 6.1CVSS 3.1Zendframework Potential XSS or HTML Injection vector in Zend_Json
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.
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | Packagist | zendframework/zendframework1 | >= 1.7.0, < 1.7.9 | 1.7.9 |
| OSV | Packagist | zendframework/zendframework1 | >= 1.8.0, < 1.8.5 | 1.8.5 |
| OSV | Packagist | zendframework/zendframework1 | >= 1.9.0, < 1.9.7 | 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
History
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 7 Jun 2024)