Security mailing lists by PureSourceCode

GHSA-4vf6-mq7w-3hp6

MEDIUM 6.1CVSS 3.1

Zend_Filter_StripTags vulnerable to Cross-site Scripting when comments allowed

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.

Published
7 Jun 2024
Last modified
7 Jun 2024
Weakness
CWE-79
Sources
OSVJSON

Scores

SourceScored byVersionScoreVector / decision
OSV GitHub CVSS 3.1 MEDIUM 6.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
OSV Packagist zendframework/zendframework1 >= 1.7.0, < 1.7.9 1.7.9
OSV Packagist zendframework/zendframework1 >= 1.8.0, < 1.8.5 1.8.5
OSV Packagist zendframework/zendframework1 >= 1.9.0, < 1.9.7 1.9.7

References

History

  • 25 Nov 2026 20:15 UTC · OSV: first stored (published 7 Jun 2024)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.