Unrated severityNVD Advisory· Published Jun 26, 2026· Updated Jul 14, 2026
ZAP ViewState Add-on Insecure Deserialization via JSFViewState.decode()
CVE-2026-57527
Description
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.
Affected products
2- Range: <4
- Range: <4
Patches
Vulnerability mechanics
References
5- github.com/zaproxy/zap-extensions/commit/ac6c3f94d38505bc0facea286a4d3728044c6e5cmitrepatch
- www.vulncheck.com/advisories/zap-viewstate-add-on-insecure-deserialization-via-jsfviewstate-decodemitrethird-party-advisory
- www.zaproxy.org/blog/2026-06-24-java-deserialization-vulnerability-in-zap-viewstate-addon/mitretechnical-descriptionvendor-advisory
- github.com/zaproxy/zap-extensions/pull/7481mitreissue-tracking
- github.com/zaproxy/zap-extensions/releases/tag/viewstate-v4mitrerelease-notes
News mentions
0No linked articles in our index yet.