Advisory

GHSA-4vf6-mq7w-3hp6

Also known as: None

Summary

Zend_Filter_StripTags vulnerable to Cross-site Scripting when comments allowed

Details

Zend_Filter_StripTags contained an optional setting to allow whitelisting HTML comments in filtered text. Microsoft Internet Explorer and several other browsers allow developers to create conditional functionality via HTML comments, including execution of script events and rendering of additional commented markup. By allowing whitelisting of HTML comments, a malicious user could potentially include XSS exploits within HTML comments that would then be rendered in the final output.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2024-06-07 22:09 UTC
Modified
2024-06-07 22:09 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