CVE-2026-57527
JSON

8.7high

ZAP ViewState Add-on Insecure Deserialization via JSFViewState.decode()

Severity
8.7high CVSS:4.0 by VulnCheck
Exploit likelihood
0.46% (higher than 41% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
VulnCheck

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

Product or packageVersionsReported by
zaproxy zap-extensionsbefore 4CVE List

All scores

VulnCheck8.7high CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
VulnCheck8.8high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Classification

CWE-502

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

What each source says

CVE List

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.

NVD (es)

El complemento ViewState de Zed Attack Proxy (ZAP) anterior a la versión 4 contiene una vulnerabilidad de deserialización insegura que permite a los atacantes que controlan un servidor web proxy lograr la ejecución de código arbitrario incrustando un objeto Java serializado malicioso en el parámetro de respuesta HTTP javax.faces.ViewState. El método JSFViewState.decode() decodifica en base64 el valor de ViewState y lo pasa directamente a ObjectInputStream.readObject() sin un filtro de deserialización, lista blanca o restricción de tipo, lo que provoca que el objeto malicioso sea deserializado dentro de la JVM de ZAP cuando la interfaz de usuario de escritorio renderiza el panel ViewState.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-57527 changed 2026-11-08CVE Terms of Use
NVDCVE-2026-57527 changed 2026-10-25Public domain