Advisory record · GHSA-gwpm-pm6x-h7rj

ZendFramework Cross-site Scripting vector in `Zend_Filter_StripTags`

CVSS 6.1 Medium

Published by the GitHub Advisory Database at 7 Jun 2024, 21:38 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
zendframework/zendframework1Packagist>=1.7.0, <1.7.61.7.6
Identifiers
GHSA-gwpm-pm6x-h7rj · PKSA-tsmz-s3cz-9ntg
Weakness (CWE)
CWE-79
Published
7 Jun 2024
Updated
7 Jun 2024

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

Zend Framework 1 (zendframework/zendframework1) versions 1.7.0 up to 1.7.6 are affected. In Zend_Filter_StripTags, attributes with whitespace, such as line breaks, around the assignment operator are not stripped, so non-whitelisted attributes like onclick can remain, enabling cross-site scripting. Upgrade to version 1.7.6 or later. If you rely on this filter to prevent XSS, stripping all tags is the reliable option, and output should be run through a dedicated HTML filter.

Written 4 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
6.1 Medium 3.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N GitHub Advisory Database
  • CISA KEV Not listed.
  • EPSS No score.

Timeline

  1. 31 Oct 2026, 14:29 UTC First seen by agentprime
  2. 31 Oct 2026, 14:29 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.