CVE-2020-35217

HIGH

Vert.x-Web 4.0.0-milestone1-4.0.0-milestone4 - Cross-Site Request Forgery via Incorrect Token Verification

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 2 public exploits for CVE-2020-35217. PoCs published by dawetmaster, andikahilmy.

AI-analyzed exploit summary This repository contains a vulnerable version of Vert.x Web with FreeMarker template engine, demonstrating CVE-2020-35217. The code includes the vulnerable FreeMarkerTemplateEngine implementation, which allows for template injection attacks.

Description

Vert.x-Web framework v4.0 milestone 1-4 does not perform a correct CSRF verification. Instead of comparing the CSRF token in the request with the CSRF token in the cookie, it compares the CSRF token in the cookie against a CSRF token that is stored in the session. An attacker does not even need to provide a CSRF token in the request because the framework does not consider it. The cookies are automatically sent by the browser and the verification will always succeed, leading to a successful CSRF attack.

Exploits (2)

nomisec WORKING POC
by dawetmaster · poc
https://github.com/dawetmaster/CVE-2020-35217-vertx-web-vulnerable

This repository contains a vulnerable version of Vert.x Web with FreeMarker template engine, demonstrating CVE-2020-35217. The code includes the vulnerable FreeMarkerTemplateEngine implementation, which allows for template injection attacks.

Classification
Working Poc 90%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: Vert.x Web with FreeMarker template engine
No auth needed
Prerequisites: Access to a Vert.x Web application using FreeMarker templates
devstral-2 · analyzed Mar 14, 2026 Full analysis →
nomisec WORKING POC
by andikahilmy · poc
https://github.com/andikahilmy/CVE-2020-35217-vertx-web-vulnerable

This repository contains a vulnerable version of Vert.x Web with FreeMarker template engine, demonstrating CVE-2020-35217. The code includes the vulnerable FreeMarkerTemplateEngine implementation, which allows arbitrary file read due to improper template loading.

Classification
Working Poc 90%
Attack Type
Info Leak
Complexity
Moderate
Reliability
Reliable
Target: Vert.x Web (FreeMarker template engine)
No auth needed
Prerequisites: Access to the Vert.x Web application with FreeMarker template engine enabled
devstral-2 · analyzed Feb 18, 2026 Full analysis →

References (1)

Core 1
Core References
Patch, Third Party Advisory x_refsource_misc
https://github.com/vert-x3/vertx-web/pull/1613

Scores

CVSS v3 8.8
EPSS 0.0015
EPSS Percentile 36.1%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Details

CWE
CWE-352
Status published
Products (2)
eclipse/vert.x-web 4.0.0 milestone1 (4 CPE variants)
io.vertx/vertx-web 4.0.0-milestone1 - 4.0.0-milestone5Maven
Published Jan 20, 2021
Tracked Since Feb 18, 2026