GHSA-4vf6-mq7w-3hp6
6.1medium
Zend_Filter_StripTags vulnerable to Cross-site Scripting when comments allowed
- Severity
- 6.1medium CVSS:3.1 by GitHub
- Published
- Last changed
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| zendframework/zendframework1 (Packagist) | from 1.7.0 before 1.7.9, from 1.8.0 before 1.8.5, from 1.9.0 before 1.9.7 | GitHub Advisory Database |
Classification
References
Sources
| Source | Record | Licence |
|---|---|---|
| GitHub Advisory Database | GHSA-4vf6-mq7w-3hp6 changed 2024-06-07 | CC-BY-4.0 |