Skip to content

GHSA-4vf6-mq7w-3hp6 Zend_Filter_StripTags vulnerable to Cross-site Scripting when comments allowed

MediumCVSS 6.1
Published
Updated
Exploit status
No public exploit known
Technology
PHP

Description

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.

Upgrade path

1 package: 1 fixed.

PackageAffectedFixed inStatus
zendframework/zendframework1(Packagist) >= 1.7.0, < 1.7.9; >= 1.8.0, < 1.8.5; >= 1.9.0, < 1.9.7 1.7.9, 1.8.5, 1.9.7 Fixed

Affected products

ProductAffected versionsFixed in
zendframework/zendframework1(Packagist) >= 1.7.0, < 1.7.9 1.7.9
zendframework/zendframework1(Packagist) >= 1.8.0, < 1.8.5 1.8.5
zendframework/zendframework1(Packagist) >= 1.9.0, < 1.9.7 1.9.7

References