Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessLure tester to proxy malicious server
-
DeliveryReturn JSF response with crafted ViewState
-
ExploitOperator opens ViewState panel
-
ExecutionJSFViewState.decode deserializes gadget
-
ImpactExecute code in ZAP JVM
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A08:2025 - Software or Data Integrity Failures
ASVS 5.0
V1 - Encoding and Sanitization Safe deserialization, type allowlists
MITRE ATT&CK
2 techniques across 2 tactics: Execution, Initial Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires three concrete conditions: (1) the victim runs ZAP with the 'viewstate' add-on installed at a version before 4; (2) the attacker controls the proxied web server's HTTP responses and can set the javax.faces.ViewState parameter to a malicious base64-encoded serialized Java object; and (3) the ZAP operator must interactively render the ViewState panel in the Desktop UI for that response (UI:P/UI:R) - exploitation does not occur passively just from proxying traffic. Limiting factors: it does not affect ASP-only ViewState usage, it depends on the JSF decoding path being active (default in pre-v4), and it targets the tester's ZAP instance rather than any externally exposed service, so it is not automatable at internet scale. Successful RCE in practice also depends on exploitable gadget classes being present on the ZAP JVM classpath. |
| Impact | The supplied CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H, base 8.7) reflects an unauthenticated network reachable, low-complexity flaw with full confidentiality/integrity/availability impact on the vulnerable system, but with a mandatory user-interaction requirement (UI:P): the ZAP operator must actually render the ViewState panel for a proxied response under attacker control. This is effectively a client-side attack against the penetration tester rather than a mass-exploitable server bug, which materially lowers real-world urgency despite the high score. No EPSS score, no KEV listing, and no public POC were provided, so there is no evidence of active or automated exploitation; the realistic threat is a targeted server fingerprinting a ZAP user. The signals are consistent (high technical impact, but gated by UI and by the niche precondition that the add-on is installed and the JSF panel is opened), so this is a genuine RCE worth patching for active testers, not a broadly automatable internet-scale threat. |
| Exploit ScenarioDerived | A penetration tester proxies a target web server through ZAP with the viewstate add-on installed. The attacker-controlled (or compromised) server returns a JSF response whose javax.faces.ViewState field contains a base64-encoded malicious gadget chain; when the tester opens the ViewState panel to inspect the response, JSFViewState.decode() deserializes the object and executes code inside the ZAP JVM on the tester's machine. No public POC is identified at time of analysis, but the bug class (ObjectInputStream.readObject on attacker bytes) is reliably exploitable with known gadget libraries. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 26, 2026
Arbitrary code execution in the OWASP ZAP ViewState add-on (versions before 4) lets a malicious or attacker-controlled proxied web server compromise the security tester's own ZAP instance. By embedding a crafted serialized Java object in the javax.faces.ViewState response parameter, an attacker triggers unsafe Java deserialization inside the ZAP JVM the moment the operator views the ViewState panel in the Desktop UI. There is no public exploit identified at time of analysis and it is not listed in CISA KEV, but the vendor has published an advisory and shipped a fix (viewstate-v4) that disables JSF support entirely.
RemediationAI
Vendor-released patch: ZAP viewstate add-on version 4 (viewstate-v4); update the add-on via the ZAP Marketplace to version 4 or later, which removes JSF ViewState support entirely (commit ac6c3f9 comments out registration of the javax.faces.ViewState parameter and changes the add-on to an 'ASP ViewState Decoder and Editor' only). If immediate updating is not possible, compensating controls are to uninstall or disable the viewstate add-on (trade-off: loses ASP ViewState decoding too), or operationally avoid opening the ViewState panel when proxying untrusted or unknown JSF targets (trade-off: relies on operator discipline and is not a technical control). See the vendor advisory https://www.zaproxy.org/blog/2026-06-24-java-deserialization-vulnerability-in-zap-viewstate-addon/ and PR https://github.com/zaproxy/zap-extensions/pull/7481 for fix details.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The flaw is a classic CWE-502 unsafe deserialization in the JSF (JavaServer Faces) ViewState handling path of ZAP's optional viewstate add-on. JSF applications serialize component-tree state into the javax.faces.ViewState field; ZAP's add-on attempts to decode this for inspection. JSFViewState.decode() base64-decodes the attacker-supplied value and passes the bytes straight to java.io.ObjectInputStream.readObject() with no look-ahead deserialization filter, class allowlist, or type restriction. With common gadget libraries on the classpath, readObject() on attacker-controlled bytes is a well-known route to remote code execution. Critically, the vulnerable component is the security tooling itself (the ZAP client/proxy), not the target web application - the trust boundary is inverted because ZAP is expected to safely parse hostile traffic.
Know when Java gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Attacker-controlled proxied server reaches the victim over the network (AV:N) with no privileges (PR:N), but the operator must open the ViewState panel (UI:R), yielding full code-execution impact (C/I/A:H).
Primary rating from Vendor (vulncheck).
CVSS VectorVendor: vulncheck
Lifecycle Timeline
1DescriptionCVE.org
Zed Attack Proxy (ZAP) ViewState add-on before version 4 contains an insecure deserialization vulnerability that allows attackers who control a proxied web server to achieve arbitrary code execution by embedding a malicious serialized Java object in the javax.faces.ViewState HTTP response parameter. The JSFViewState.decode() method base64-decodes the ViewState value and passes it directly to ObjectInputStream.readObject() without a deserialization filter, allowlist, or type restriction, causing the malicious object to be deserialized within the ZAP JVM when the Desktop UI renders the ViewState panel.
Executive ViewAI
The OWASP ZAP ViewState add-on (versions prior to v4) is vulnerable to remote code execution through unsafe Java deserialization. An attacker controlling a target server can compromise the security tester's ZAP instance when they view the ViewState panel. This directly undermines the integrity of security testing: compromised instances could corrupt assessment results, leak confidential test data, or introduce backdoors into security scan outputs.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Insecure deserialization occurs when an application converts serialized data (a stream of bytes representing an object's state) back into a living object without proper validation.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
Oracle Java SE 7 Update 6 and earlier contains multiple sandbox bypass vulnerabilities via the ClassFinder and forName m
Remote code execution in IBM Sterling B2B Integrator, Sterling Integrator, and Tivoli Common Reporting allows unauthenti
Java Runtime Environment sandbox bypass via incorrect image channel verification in 2D component allows remote unauthent
Oracle Java SE JDK/JRE 7 and 6 Update 27 and earlier allows remote code execution with complete system compromise throug
JBoss Seam 2 in Red Hat JBoss EAP 4.3.0 fails to sanitize JBoss Expression Language inputs, allowing remote attackers to
Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 update 4 and earlier, 6 up
Multiple vulnerabilities in Oracle Java 7 before Update 11 allow remote attackers to execute arbitrary code by (1) using
Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 2 and earlier, 6 Up
The WLS Security component in Oracle WebLogic Server 10.3.6.0, 12.1.2.0, 12.1.3.0, and 12.2.1.0 allows remote attackers
Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 7 and earlier allow
Remote unauthenticated attackers can execute arbitrary code on Adobe ColdFusion servers through Java deserialization fla
The ExceptionDelegator component in Apache Struts before 2.2.3.1 interprets parameter values as OGNL expressions during
EUVD-2026-39777
GHSA-grq4-7pwr-9rmp
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB