MEDIUM6.1
GHSA-4vf6-mq7w-3hp6
Zend_Filter_StripTags vulnerable to Cross-site Scripting when comments allowed
Quick fix
GHSA-4vf6-mq7w-3hp6 — zendframework/zendframework1: upgrade to the fixed version with the command below.
composer require zendframework/zendframework1:^1.7.9Details
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.
Are you affected?
Enter the version of the package you're using.
Affected packages
Packagist/zendframework/zendframework1
Introduced in:
1.7.0Fixed in: 1.7.9Fix
composer require zendframework/zendframework1:^1.7.9Packagist/zendframework/zendframework1
Introduced in:
1.8.0Fixed in: 1.8.5Fix
composer require zendframework/zendframework1:^1.8.5Packagist/zendframework/zendframework1
Introduced in:
1.9.0Fixed in: 1.9.7Fix
composer require zendframework/zendframework1:^1.9.7