Medium

Zend_Filter_StripTags vulnerable to Cross-site Scripting when comments allowed

  • Disclosed: 07.06.2024
  • Updated: 11.10.2026 10:22

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 software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
Composer package zendframework/zendframework1 >= 1.7.0, < 1.7.9, >= 1.8.0, < 1.8.5, >= 1.9.0, < 1.9.7 1.7.9, 1.8.5, 1.9.7

References

CVSS score 6.1/10
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Weakness (CWE)
CWE-79
Platform
Composer
Package
zendframework/zendframework1
Disclosed
07.06.2024
Updated
11.10.2026 10:22

Sources and licenses

OSV / GitHub Advisory Database - GHSA-4vf6-mq7w-3hp6 - CC BY 4.0

Vulnerability history: zendframework/zendframework1

All published vulnerabilities of this package (Composer package), newest first. Shows whether this is a one-off slip or a package that needs watching.

All (34) in the archive
Total entries
34
First → latest
05.2022 06.2024
Without a fix
0
Exploited in attacks
0

Severity breakdown

  • Critical 8
  • High 9
  • Medium 17

Disclosures per year

  1. 2022: 13
  2. 2023: 0
  3. 2024: 21
  4. 2025: 0
  5. 2026: 0
Severity:
  1. Critical · 9.8 ghsa-6fqw-j3vm-7f66 < 1.12.20 1.12.20
  2. High · 7.5 ghsa-848f-mph5-9pm9 >= 1.12.0, < 1.12.17 1.12.17
  3. High · 7.5 ghsa-8xhv-gqm4-3w99 >= 1.12.0, < 1.12.18 1.12.18
  4. Critical · 9.8 ghsa-v42g-7q2x-cw32 >= 1.12.0, < 1.12.16 1.12.16
  5. Critical · 9.8 ghsa-2x36-qhx3-7m5f >= 1.12.0, < 1.12.7 1.12.7
  6. High · 7.5 ghsa-9v78-h226-2rmq >= 1.12.0, < 1.12.4 1.12.4
  7. Zend_Filter_StripTags vulnerable to Cross-site Scripting when comments allowed this entry
    Medium · 6.1 ghsa-4vf6-mq7w-3hp6 >= 1.7.0, < 1.7.9, >= 1.8.0, < 1.8.5, >= 1.9.0, < 1.9.7 1.7.9, 1.8.5, 1.9.7
  8. High · 8.6 ghsa-229x-22xc-2f2w >= 1.0.0, < 1.11.13 1.11.13
  9. High · 7.5 ghsa-2jx7-xg83-j2m7 >= 1.0.0, < 1.11.13 1.11.13
  10. Critical · 9.8 ghsa-mhpx-3rv8-wrjm >= 1.12.0, < 1.12.4 1.12.4
  11. High · 7.5 ghsa-4j9x-g4x8-vcmf >= 1.11.0, < 1.11.15, >= 1.12.0, < 1.12.1 1.11.15, 1.12.1
  12. Critical · 9.8 ghsa-qf36-fx9f-232x >= 1.10.0, < 1.10.9, >= 1.11.0, < 1.11.6 1.10.9, 1.11.6
  13. Critical · 9.8 CVE-2014-8089 >= 1.12.0, < 1.12.9 1.12.9
  14. High · 7.3 CVE-2012-3363 >= 1.0.0, < 1.11.12, >= 1.12.0-rc1, < 1.12.0 1.11.12, 1.12.0
  15. High · 7.8 CVE-2015-5723 >= 1.12.0, < 1.12.16 1.12.16
  16. Critical · 9.8 CVE-2015-7695 < 1.12.16 1.12.16
  17. Critical · 9.8 CVE-2016-6233 < 1.12.19 1.12.19

Know which vulnerabilities affect your application

With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.