Zendframework 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.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Composer package | zendframework/zendframework1 | >= 1.7.0, < 1.7.9, >= 1.8.0, < 1.8.5, >= 1.9.0, < 1.9.7 | 1.7.9, 1.8.5, 1.9.7 |
References
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N- Weakness (CWE)
CWE-79- Platform
- Composer
- Package
zendframework/zendframework1- Disclosed
- 07.06.2024
- Updated
- 11.10.2026 10:22
Sources and licenses
OSV / GitHub Advisory Database - GHSA-vvm3-rv48-j3g5 - CC BY 4.0
Vulnerability history: zendframework/zendframework1
All published vulnerabilities of this package (Composer package), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 34
- First → latest
- 05.2022 06.2024
- Without a fix
- 0
- Exploited in attacks
- 0
Severity breakdown
- Critical 8
- High 9
- Medium 17
Disclosures per year
- 2022: 13
- 2023: 0
- 2024: 21
- 2025: 0
- 2026: 0
-
Zendframework Potential XSS or HTML Injection vector in Zend_Json this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.