Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. zendframework/zendframework1
  4. ›
  5. GHSA-vvm3-rv48-j3g5

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

June 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

  • github.com/FriendsOfPHP/security-advisories/blob/master/zendframework/zendframework1/ZF2010-06.yaml
  • github.com/advisories/GHSA-vvm3-rv48-j3g5
  • github.com/zendframework/zf1
  • web.archive.org/web/20200228150030/https://framework.zend.com/security/advisory/ZF2010-06

Code Behaviors & Features

Detect and mitigate GHSA-vvm3-rv48-j3g5 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions starting from 1.7.0 before 1.7.9, all versions starting from 1.8.0 before 1.8.5, all versions starting from 1.9.0 before 1.9.7

Fixed versions

  • 1.7.9
  • 1.8.5
  • 1.9.7

Solution

Upgrade to versions 1.7.9, 1.8.5, 1.9.7 or above.

Impact 6.1 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Source file

packagist/zendframework/zendframework1/GHSA-vvm3-rv48-j3g5.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:15:38 +0000.