Skip to content
OpenAdvisories
Medium · 6.1 GHSA-5gmf-3c43-q73v

ZendFramework vulnerable to Cross-site Scripting

Published Jun 7, 2024 · Updated Dec 4, 2024 · Assigned by GHSA

Description

`Zend\Debug`, `Zend\Feed\PubSubHubbub`, `Zend\Log\Formatter\Xml`, `Zend\Tag\Cloud\Decorator`, `Zend\Uri`, `Zend\View\Helper\HeadStyle, Zend\View\Helper\Navigation\Sitemap`, and `Zend\View\Helper\Placeholder\Container\AbstractStandalone` were not using `Zend\Escaper` when escaping HTML, HTML attributes, and/or URLs. While most were performing some escaping, because they were not using context-appropriate escaping mechanisms, they could potentially be exploited to perform Cross Site Scripting (XSS) attacks.

Affected packages

EcosystemPackageAffectedFixedRecord
Packagist zendframework/zendframework >= 2.0.0, < 2.0.1 2.0.1 GHSA-5gmf-3c43-q73v

References