{"items":[{"id":"NVI-00006286","kind":"vulnerability","title":"ZendFramework Cross-site Scripting vector in `Zend_Filter_StripTags`","revision":1,"unknowns":["Customer inventory, deployment, reachability and exploitation have not been inspected."],"lifecycle":"active","identifiers":["GHSA-gwpm-pm6x-h7rj"],"plain_summary":"OSV carries this publisher advisory for zendframework/zendframework1. This is an aggregated source copy; consult the original publisher and compare update dates.","review_status":"source_listed","control_topics":[],"public_actions":[{"summary":"The original advisory lists fixed boundaries 1.7.6 for zendframework/zendframework1. Confirm the publisher’s latest guidance.","source_ids":["sr-ae714fe53e183b48c48d0b191e7f2b9d"],"action_type":"vendor_patch","limitations":"Confirm current vendor support, compatibility and deployment evidence. This report has not tested a fix in your system.","current_supported_target":null}],"schema_version":"1.1.0","source_metrics":[],"why_it_matters":"Published affected context helps an owner decide what evidence to gather. This report has not examined your application.","related_sources":[{"id":"sr-ae714fe53e183b48c48d0b191e7f2b9d","url":"https://github.com/advisories/GHSA-gwpm-pm6x-h7rj","basis":"vendor_advisory","notes":"GitHub-origin advisory, CC-BY-4.0; OSV is an aggregate copy, not independent corroboration.","title":"GHSA-gwpm-pm6x-h7rj","publisher":"GitHub Advisory Database via OSV","observed_at":"2026-10-31T21:42:20.423Z"}],"affected_context":[{"certainty":"source_listed","source_ids":["sr-ae714fe53e183b48c48d0b191e7f2b9d"],"technology":"zendframework/zendframework1","known_exclusions":[],"conditions_summary":"`Zend_Filter_StripTags` is a filtering class analogous to PHP's `strip_tags()` function. In addition to stripping HTML tags and selectively keeping those provided in a whitelist, it also provides the ability to whitelist specific attributes to retain per whitelisted tag.\n\nThe reporter discovered that attributes that contained whitespace, and in paricular, line breaks, surrounding the attribute assignment operator would not be stripped, regardless of whether or not they were whitelisted. As examples of input affected:\n```\n\nIssues\n```\nWhen passed to the following code:\n```\n$filter = new Zend_Filter_StripTags(array('a' => array('href')));\n$value  = $filter->($html);\n```\nthen the \"onclick\" attribute would remain, even though it was not specified in the tag's whitelist. This could open potential cross-site scripting attack (XSS) vectors.\n\n## Recommendations\nIf you were using `Zend_Filter_StripTags` and utlizing the attribute whitelisting functionality, you should immediately upgrade to Zend Framework 1.7.6 or above; regardless, it is always best to r","public_affected_ranges":["ECOSYSTEM: introduced 1.7.0; fixed 1.7.6"]}],"null_published_at":"2026-10-31T22:13:10.047Z","source_updated_at":"2024-06-07T21:38:38.000Z","source_disclosed_at":"2024-06-07T21:38:38.000Z","is_synthetic_fixture":false,"null_last_reviewed_at":null,"public_change_summary":"First indexed by Null; source disclosure date is shown separately.","null_first_observed_at":"2026-10-31T21:42:20.423Z"}],"next_cursor":null,"snapshot_revision":"42594"}