Vulnerability DatabaseGHSA-8q77-cv62-jj38

GHSA-8q77-cv62-jj38
PHP vulnerability analysis and mitigation

Overview

Many Zend Framework 2 view helpers were using the escapeHtml() view helper to escape HTML attributes, instead of the more appropriate escapeHtmlAttr(). This vulnerability (GHSA-8q77-cv62-jj38) was discovered in Zend Framework versions >= 2.0.0, < 2.2.7 and >= 2.3.0, < 2.3.1, and was disclosed on April 15, 2014. The affected components included all Zend\Form view helpers, most Zend\Navigation view helpers, and all HTML Element view helpers (htmlFlash(), htmlPage(), htmlQuickTime(), and Zend\View\Helper\Gravatar) (Zend Advisory).

Technical details

The vulnerability stemmed from the improper use of escapeHtml() instead of escapeHtmlAttr() for escaping HTML attribute values. In situations where user data and/or JavaScript was used to seed attributes, this could lead to potential cross-site scripting (XSS) attack vectors. The vulnerability has a CVSS v3.1 score of 6.1 (Moderate), with the following metrics: Attack Vector: Network, Attack Complexity: Low, Privileges Required: None, User Interaction: Required, Scope: Changed, Confidentiality: Low, Integrity: Low, Availability: None (GitHub Advisory).

Impact

The vulnerability could allow attackers to execute cross-site scripting (XSS) attacks by injecting malicious JavaScript code through HTML attributes. This could potentially lead to unauthorized access to user data, session hijacking, or other client-side attacks (GitHub Advisory).

Exploitability

The vulnerability requires user interaction and can be exploited when user data or JavaScript is used to seed attributes in the affected view helpers. The attack vector is network-based with low complexity, requiring no special privileges (GitHub Advisory).

Mitigation and workarounds

The vulnerability was patched in Zend Framework versions 2.2.7 and 2.3.1. The fix involved updating all affected view helpers to use the escapeHtmlAttr() view helper when escaping data for HTML attributes. Users should upgrade to these or later versions to protect against potential XSS attacks (Zend Advisory).

Community reactions

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).

Additional resources


SourceThis report was generated using AI

Related PHP vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-56825HIGH8.1
  • PHP logoPHP
  • shopper/framework
NoYesSep 11, 2026
CVE-2026-56829HIGH8.1
  • PHP logoPHP
  • shopper/framework
NoYesSep 11, 2026
CVE-2026-56830MEDIUM6.5
  • PHP logoPHP
  • shopper/framework
NoYesSep 11, 2026
CVE-2026-56831MEDIUM6.5
  • PHP logoPHP
  • shopper/framework
NoYesSep 11, 2026
CVE-2026-49992MEDIUM6.3
  • PHP logoPHP
  • kimai/kimai
NoYesSep 11, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management