GHSA-6v7p-5qcq-268c
HIGH 7.5CVSS 3.1Zend-Navigation vulnerable to Cross-site Scripting
Many Zend Framework 2 view helpers were using the escapeHtml() view helper in order to escape HTML attributes, instead of the more appropriate escapeHtmlAttr(). In situations where user data and/or JavaScript is used to seed attributes, this can lead to potential cross site scripting (XSS) attack vectors.
Vulnerable view helpers include:
- All
Zend\Formview helpers. - Most
Zend\Navigation(akaZend\View\Helper\Navigation\*) view helpers. - All "HTML Element" view helpers:
htmlFlash(),htmlPage(),htmlQuickTime(). Zend\View\Helper\Gravatar
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | Packagist | zendframework/zend-navigation | >= 2.0.0, < 2.2.7 | 2.2.7 |
| OSV | Packagist | zendframework/zend-navigation | >= 2.3.0, < 2.3.1 | 2.3.1 |
References
- https://framework.zend.com/security/advisory/ZF2014-03 · WEB
- https://github.com/FriendsOfPHP/security-advisories/blob/master/zendframework/zend-navigation/ZF2014-03.yaml · WEB
- https://github.com/zendframework/zend-navigation · PACKAGE
History
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 7 Jun 2024)