Vulnerability DatabaseGHSA-6v7p-5qcq-268c

GHSA-6v7p-5qcq-268c
PHP vulnerability analysis and mitigation

Overview

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

Technical details

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

Impact

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

Exploitability

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

Mitigation and workarounds

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

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-52777CRITICAL9.4
  • PHP logoPHP
  • yeswiki/yeswiki
NoYesSep 05, 2026
CVE-2026-52775HIGH8.8
  • PHP logoPHP
  • yeswiki/yeswiki
NoYesSep 05, 2026
CVE-2026-86428HIGH8.7
  • PHP logoPHP
  • php-league-commonmark
NoYesSep 07, 2026
CVE-2026-85400HIGH7.5
  • PHP logoPHP
  • composer://typo3/cms-lowlevel
NoYesSep 08, 2026
CVE-2026-77132MEDIUM5.3
  • PHP logoPHP
  • composer://typo3/cms-backend
NoYesSep 08, 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