GHSA-vvm3-rv48-j3g5

Suggest an improvement
Source
https://github.com/advisories/GHSA-vvm3-rv48-j3g5
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/06/GHSA-vvm3-rv48-j3g5/GHSA-vvm3-rv48-j3g5.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-vvm3-rv48-j3g5
Published
2024-06-07T21:52:44Z
Modified
2024-06-07T21:52:44Z
Severity
  • 6.1 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N CVSS Calculator
Summary
Zendframework Potential XSS or HTML Injection vector in Zend_Json
Details

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

Affected packages

Packagist / zendframework/zendframework1

Package

Name
zendframework/zendframework1
Purl
pkg:composer/zendframework/zendframework1

Affected ranges

Type
ECOSYSTEM
Events
Introduced
1.7.0
Fixed
1.7.9

Packagist / zendframework/zendframework1

Package

Name
zendframework/zendframework1
Purl
pkg:composer/zendframework/zendframework1

Affected ranges

Type
ECOSYSTEM
Events
Introduced
1.8.0
Fixed
1.8.5

Packagist / zendframework/zendframework1

Package

Name
zendframework/zendframework1
Purl
pkg:composer/zendframework/zendframework1

Affected ranges

Type
ECOSYSTEM
Events
Introduced
1.9.0
Fixed
1.9.7