CVE-2018-12540: CSRF vulnerability in io.vertx:vertx-web

io.vertx:vertx-web Updated 02 Oct 2025

Summary

17/10/2018
Yes i
High
Not published

CVE-2018-12540: High severity vulnerability that affects io.vertx:vertx-web. Affects io.vertx:vertx-web versions >= 3.0.0, < 3.5.3. Fixed in 3.5.3. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

io.vertx:vertx-web is a package in the Maven ecosystem that provides a toolkit for building web applications and APIs using the Vert.x framework. It offers various features such as routing, request handling, and session management. However, versions 3.0.0 to 3.5.2 of this package are vulnerable to a CSRF (Cross-Site Request Forgery) attack.

Vulnerability Detail

The CSRFHandler in io.vertx:vertx-web fails to validate whether the XSRF Cookie matches the returned XSRF header/form parameter. This oversight allows for replay attacks using previously issued tokens that have not yet expired. An attacker can exploit this vulnerability to perform unauthorized actions on behalf of authenticated users, potentially leading to data breaches, privilege escalation, or other malicious activities.

How To Fix

Minimum fixed version

3.5.3

This is the first release that contains the fix.

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

There is no known workaround for this vulnerability. It is recommended to upgrade to the fixed version as soon as possible.

Conclusion

The CSRF vulnerability in io.vertx:vertx-web exposes applications to potential unauthorized actions and data breaches. It is crucial to upgrade to version 3.5.3 or later to mitigate this vulnerability. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for io.vertx:vertx-web →

Share this vulnerability

FAQ

A CSRF attack, or Cross-Site Request Forgery, is an attack that tricks a victim into performing unwanted actions on a web application in which they are authenticated. The attacker crafts a malicious request and tricks the victim into unknowingly executing it.

This vulnerability allows an attacker to perform actions on behalf of authenticated users, potentially leading to unauthorized access, data breaches, or privilege escalation.

While there may not be a specific known exploit for this vulnerability, CSRF attacks are a well-known and documented type of attack. It is important to address this vulnerability to prevent potential exploitation.

No, only versions 3.0.0 to 3.5.2 of io.vertx:vertx-web are affected. Versions 3.5.3 and later include the necessary fix to mitigate this vulnerability.

You can use Vulert's playground (https://vulert.com/scanner) to check if your application is affected by this vulnerability. Vulert monitors and alerts in real-time for open-source vulnerabilities, using just the pom.xml file.

Related vulnerabilities

Recent vulnerabilities recorded for io.vertx:vertx-web.

How To Fix

Minimum fixed version

3.5.3

This is the first release that contains the fix.

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback