medium6.1No CVE yet
GHSA-vvm3-rv48-j3g5
Zendframework Potential XSS or HTML Injection vector in Zend_Json
Impact
`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.
An attacker can exploit this over the network, without logging in, but a user has to do something, such as open a file or a link. If it succeeds: low risk of data being read, low risk of data or systems being changed. The attack can reach beyond the vulnerable component itself.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| composer | zendframework/zendframework1 | >= 1.7.0, < 1.7.9 | 1.7.9 |
| composer | zendframework/zendframework1 | >= 1.8.0, < 1.8.5 | 1.8.5 |
| composer | zendframework/zendframework1 | >= 1.9.0, < 1.9.7 | 1.9.7 |