Zendframework Potential XSS or HTML Injection vector in Zend_Json
Date: 2024-06
Affected: composer/zendframework/zendframework1, composer/zendframework/zendframework1, composer/zendframework/zendframework1
Attack vector: xss
Category: vulnerability-disclosure
Severity: Medium
CWE: CWE-79
CVSS: 6.1 (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N)

`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.


Mitigations:

Architectural layers (MAESTRO):