Skip to content

GHSA-vvm3-rv48-j3g5 Zendframework Potential XSS or HTML Injection vector in Zend_Json

MediumCVSS 6.1
Published
Updated
Exploit status
No public exploit known
Technology
PHP

Description

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.

Upgrade path

1 package: 1 fixed.

PackageAffectedFixed inStatus
zendframework/zendframework1(Packagist) >= 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 Fixed

Affected products

ProductAffected versionsFixed in
zendframework/zendframework1(Packagist) >= 1.7.0, < 1.7.9 1.7.9
zendframework/zendframework1(Packagist) >= 1.8.0, < 1.8.5 1.8.5
zendframework/zendframework1(Packagist) >= 1.9.0, < 1.9.7 1.9.7

References