NetSight
medium6.1No CVE yet

GHSA-4vf6-mq7w-3hp6

Zend_Filter_StripTags vulnerable to Cross-site Scripting when comments allowed

Impact

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.

An attacker can exploit this over the network, without logging in, but a user has to do something, such as open a file or a link. If it succeeds: low risk of data being read, low risk of data or systems being changed. The attack can reach beyond the vulnerable component itself.

Affected packages

EcosystemPackageAffectedFixed in
composerzendframework/zendframework1>= 1.7.0, < 1.7.91.7.9
composerzendframework/zendframework1>= 1.8.0, < 1.8.51.8.5
composerzendframework/zendframework1>= 1.9.0, < 1.9.71.9.7

Weakness classification

References