NetSight
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

EcosystemPackageAffectedFixed in
composerzendframework/zendframework1>= 1.7.0, < 1.7.91.7.9
composerzendframework/zendframework1>= 1.8.0, < 1.8.51.8.5
composerzendframework/zendframework1>= 1.9.0, < 1.9.71.9.7

Weakness classification

References