7.5

CVE-2025-5878: esapi esapi-java-legacy Improper Input Validation

CVSS: 7.5v2.0HighDeferred
AliasesUBUNTU-CVE-2025-5878DEBIAN-CVE-2025-5878
Published 29-06-2025Last modified 03-11-2025

Vulnerability summary

CVE-2025-5878 is a high (CVSS 7.5) Improper Input Validation vulnerability in esapi esapi-java-legacy. EPSS estimates a 0.50% chance of exploitation in the next 30 days, higher than 41.3% of scored vulnerabilities.

Overall risk
30/100
0100
Medium · default modelHow is this calculated?
CVSS score
7.5/10
010
High · v2.0 (CVE.org)
EPSS score
0.50%
0%100%
Low · +0.06 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 1 · Related 1

Timeline

  1. 29-06-2025
    PublishedVulnerability first disclosed.
  2. 03-11-2025
    Last modifiedVulnerability information updated.

Description

A vulnerability was found in ESAPI esapi-java-legacy and classified as problematic. This issue affects the interface Encoder.encodeForSQL of the SQL Injection Defense. An attack leads to an improper neutralization of special elements. The attack may be initiated remotely and an exploit has been disclosed to the public. The project was contacted early about this issue and handled it with an exceptional level of professionalism. Upgrading to version 2.7.0.0 is able to address this issue. Commit ID f75ac2c2647a81d2cfbdc9c899f8719c240ed512 is disabling the feature by default and any attempt to use it will trigger a warning. And commit ID e2322914304d9b1c52523ff24be495b7832f6a56 is updating the misleading Java class documentation to warn about the risks.

CVSS metrics

10 scores · 4 sources · 4 versions

EPSS trend

Probability

0.50%

Chance of exploitation in the next 30 days

Percentile

41%

Versus all other CVEs

30-day change

+0.06 pp

From 0.44% on 18-09-2026

18-09-202618-10-2026
EPSS score
0.50%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Debian1 product
  • libowasp-esapi-javaAll versions (No fix recorded)
Esapi1 product
  • esapi-java-legacy2.0-rc10 | 2.0-rc11 | 2.0.1 | 2.0GA1 | 2.1.0 | 2.1.0.1 | 2.2.0.0 | 2.2.0.0-RC1 | 2.2.0.0-RC2 | 2.2.0.0-RC3 | 2.2.1.0 | 2.2.1.0-RC1 | 2.2.1.1 | 2.2.2.0 | 2.2.3.0 | 2.2.3.1 | 2.3.0.0 | 2.4.0.0 | 2.5.0.0 | 2.5.1.0 | 2.5.2.0 | 2.5.3.0 | 2.5.3.1 | 2.5.4.0 | 2.5.5.0 | 2.6.0.0 | 2.6.1.0 | 2.6.2.0
Ubuntu1 product
  • libowasp-esapi-java< 2.1.0-2ubuntu0.1~esm1 | < 2.1.0-3ubuntu0.18.04.1~esm1 | < 2.1.0-3ubuntu0.20.04.1~esm1 | < 2.2.3.1-1ubuntu0.1~esm1 | < 2.4.0.0-2ubuntu0.1 | All versions (No fix recorded)

3 vendors · 3 products

References

14 links
Show all 14 references