GHSA-vvm3-rv48-j3g5: Zendframework Potential XSS or HTML Injection vector in Zend_Json
ZendJsonEncoder 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.
Published Jun 7, 2024
Affected packages
zendframework/zendframework1
- Ecosystem
- Composer (PHP)
- Affected
- >= 1.7.0, < 1.7.9
- Fixed in
- 1.7.9
- Check
composer show zendframework/zendframework1
zendframework/zendframework1
- Ecosystem
- Composer (PHP)
- Affected
- >= 1.8.0, < 1.8.5
- Fixed in
- 1.8.5
- Check
composer show zendframework/zendframework1
zendframework/zendframework1
- Ecosystem
- Composer (PHP)
- Affected
- >= 1.9.0, < 1.9.7
- Fixed in
- 1.9.7
- Check
composer show zendframework/zendframework1
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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.
References
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More Composer (PHP) vulnerabilities
All Composer (PHP) entriesGHSA-229x-22xc-2f2w
Zendframework Local file disclosure via XXE injection in Zend_XmlRpc
high8.6Jun 7, 2024GHSA-2jx7-xg83-j2m7
Zendframework Denial of Service vector via XEE injection
high7.5Jun 7, 2024GHSA-2x36-qhx3-7m5f
ZendFramework1 Potential SQL injection in the ORDER implementation of Zend_Db_Select
critical9.8Jun 7, 2024GHSA-4j9x-g4x8-vcmf
ZendFramework potential XML eXternal Entity injection vectors
high7.5Jun 7, 2024GHSA-4v57-pwvf-x35j
Zendframework potential Cross-site Scripting vector in `Zend_Service_ReCaptcha_MailHide`
medium6.1Jun 7, 2024GHSA-4vf6-mq7w-3hp6
Zend_Filter_StripTags vulnerable to Cross-site Scripting when comments allowed
medium6.1Jun 7, 2024
