Lucene search

K
osvGoogleOSV:GHSA-4VF6-MQ7W-3HP6
HistoryJun 07, 2024 - 10:09 p.m.

Zend_Filter_StripTags vulnerable to Cross-site Scripting when comments allowed

2024-06-0722:09:17
Google
osv.dev
2
zend_filter_striptags
cross-site scripting
html comments
whitelisting
xss
vulnerability
security

6 Medium

AI Score

Confidence

High

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.

6 Medium

AI Score

Confidence

High