Zendframework Potential XSS or HTML Injection vector in Zend_Json
Moderate severity
GitHub Reviewed
Published
Jun 7, 2024
to the GitHub Advisory Database
•
Updated Jun 7, 2024
Package
Affected versions
>= 1.7.0, < 1.7.9
>= 1.8.0, < 1.8.5
>= 1.9.0, < 1.9.7
Patched versions
1.7.9
1.8.5
1.9.7
Description
Published to the GitHub Advisory Database
Jun 7, 2024
Reviewed
Jun 7, 2024
Last updated
Jun 7, 2024
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