GHSA-6V7P-5QCQ-268C

GHSA-6V7P-5QCQ-268C is a high-severity cross-site request forgery (CSRF) vulnerability in zendframework/zend-navigation (composer), affecting versions >= 2.0.0, < 2.2.7. It is fixed in 2.2.7, 2.3.1.

Does this CVE actually affect you?

Kodem shows which CVEs are reachable and running in your applications, so you fix what's exploitable, not just what's listed.

Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.

Runtime intelligence, not another scanner.

Summary

Zend-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\Form view helpers.
  • Most Zend\Navigation (aka Zend\View\Helper\Navigation\*) view helpers.
  • All "HTML Element" view helpers: htmlFlash(), htmlPage(), htmlQuickTime().
  • Zend\View\Helper\Gravatar

Impact

A victim's authenticated browser session is used to submit forged requests to an application that cannot distinguish them from legitimate ones. Typical impact: state-changing actions performed as the victim without their consent.

GHSA-6V7P-5QCQ-268C has a CVSS score of 7.5 (High). The vector is network-reachable, no privileges required, and no user interaction. A CVSS score reflects the worst-case severity of the vulnerability, not your specific exposure. Whether this affects your application depends on whether the vulnerable code is present and reachable in your environment. A fixed version is available (2.2.7, 2.3.1); upgrading removes the vulnerable code path.

Affected versions

zendframework/zend-navigation (>= 2.0.0, < 2.2.7) zendframework/zend-navigation (>= 2.3.0, < 2.3.1)

Security releases

zendframework/zend-navigation → 2.2.7 (composer) zendframework/zend-navigation → 2.3.1 (composer)

Kodem intelligence

Severity tells you how bad this could be in the worst case. It does not tell you whether you are exposed. Exploitability and impact are functions of runtime truth: whether the vulnerable code is present, reachable, and actually executes in your application. A vulnerable package can sit in your dependency tree and never run.

Kodem, an Intelligent Application Security platform, uses runtime intelligence to reveal which vulnerabilities actually execute in production, so teams prioritize the ones that genuinely matter. Kodem's runtime-powered SCA identifies whether this CVE is reachable in your applications.

Already deployed Kodem?

See it in your environmentNew to Kodem? Get a demo →

Remediation advice

Upgrade the following packages to resolve this vulnerability:

zendframework/zend-navigation to 2.2.7 or later; zendframework/zend-navigation to 2.3.1 or later

Kodem Kai can prioritize this vulnerability in your dependency tree and generate a fix recommendation.

Frequently Asked Questions

  1. What is GHSA-6V7P-5QCQ-268C? GHSA-6V7P-5QCQ-268C is a high-severity cross-site request forgery (CSRF) vulnerability in zendframework/zend-navigation (composer), affecting versions >= 2.0.0, < 2.2.7. It is fixed in 2.2.7, 2.3.1. A victim's authenticated browser session is used to submit forged requests to an application that cannot distinguish them from legitimate ones.
  2. How severe is GHSA-6V7P-5QCQ-268C? GHSA-6V7P-5QCQ-268C has a CVSS score of 7.5 (High). This score reflects the worst-case severity of the vulnerability, not your specific exposure. Whether it represents real risk in your environment depends on whether the vulnerable code is present and reachable.
  3. Which versions of zendframework/zend-navigation are affected by GHSA-6V7P-5QCQ-268C? zendframework/zend-navigation (composer) versions >= 2.0.0, < 2.2.7 is affected.
  4. Is there a fix for GHSA-6V7P-5QCQ-268C? Yes. GHSA-6V7P-5QCQ-268C is fixed in 2.2.7, 2.3.1. Upgrade to this version or later.
  5. Is GHSA-6V7P-5QCQ-268C exploitable, and should I be worried? Whether GHSA-6V7P-5QCQ-268C is exploitable in your environment depends on whether the vulnerable code is present and reachable. A CVSS score is a worst-case rating; it does not account for your specific deployment, configuration, or usage patterns. Kodem, an Intelligent Application Security platform, uses runtime intelligence to show which vulnerabilities actually execute in production, so you can focus on the ones that represent real risk. Get a demo
  6. What actually determines whether GHSA-6V7P-5QCQ-268C is exploitable, and how bad it is? Exploitability and impact are not fixed properties of a CVE. They depend on runtime truth: whether the vulnerable code is present, reachable, and actually executes in your application. A high CVSS score on a dependency that never runs is not the same as real risk. Kodem, an Intelligent Application Security platform, uses runtime intelligence to reveal which vulnerabilities actually execute in production, so teams prioritize the ones that genuinely matter.
  7. How do I fix GHSA-6V7P-5QCQ-268C?
    • Upgrade zendframework/zend-navigation to 2.2.7 or later
    • Upgrade zendframework/zend-navigation to 2.3.1 or later

Stop the waste.
Protect your environment with Kodem.