Advisory

GHSA-vvm3-rv48-j3g5

Also known as: None

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2024-06-07 21:52 UTC
Modified
2024-06-07 21:52 UTC

Affected packages and fixes

zendframework/zendframework1

Packagist · All systems

Affected

  • introduced 1.7.0, fixed 1.7.9 (ecosystem)

Fixed versions

1.7.9

Fix

The export has no generic command for this ecosystem.

zendframework/zendframework1

Packagist · All systems

Affected

  • introduced 1.8.0, fixed 1.8.5 (ecosystem)

Fixed versions

1.8.5

Fix

The export has no generic command for this ecosystem.

zendframework/zendframework1

Packagist · All systems

Affected

  • introduced 1.9.0, fixed 1.9.7 (ecosystem)

Fixed versions

1.9.7

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences