
Cloud Vulnerability DB
A community-led vulnerabilities database
A Cross-site Scripting (XSS) vulnerability was identified in Zend Framework 2, specifically affecting multiple view helpers including Zend-Navigation. The vulnerability (GHSA-6v7p-5qcq-268c) was discovered in February 2014 and affected versions 2.0.0 through 2.2.7 and 2.3.0 through 2.3.1. The core issue stemmed from view helpers using the escapeHtml() function instead of the more secure escapeHtmlAttr() for HTML attribute escaping (Zend Advisory).
The vulnerability arose from improper HTML attribute escaping in multiple Zend Framework 2 components. The affected components were using escapeHtml() view helper for HTML attribute escaping, when they should have been using escapeHtmlAttr(). This affected various components including all Zend\Form view helpers, most Zend\Navigation view helpers, all HTML Element view helpers (htmlFlash(), htmlPage(), htmlQuickTime()), and Zend\View\Helper\Gravatar. The vulnerability has been assigned a High severity rating with a CVSS score of 7.5, indicating significant potential impact (GitHub Advisory).
The improper escaping mechanism could lead to Cross-site Scripting (XSS) attacks when user data or JavaScript is used to seed attributes. This vulnerability could allow attackers to execute malicious scripts in the context of the affected web application, potentially compromising user data and web application integrity (GitHub Advisory).
The vulnerability has a Network attack vector with Low attack complexity and requires No privileges or user interaction for exploitation. The CVSS metrics indicate that while there is no impact on confidentiality and availability, there is a High impact on integrity (GitHub Advisory).
The vulnerability has been patched in Zend Framework versions 2.2.7 and 2.3.1. The fix involves updating all affected view helpers to use the escapeHtmlAttr() view helper when escaping data for HTML attributes. Users are advised to upgrade to these patched versions to protect against potential XSS attacks (Zend Advisory).
The Zend Framework team acknowledged the contributions of Evan Coury (github.com/EvanDotPro) for reporting the issue and Marco Pivetta (github.com/Ocramius) for providing a patch (Zend Advisory).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."