CVE-2025-5878

MEDIUM EPSS 31.9%
Published Jun 29, 20251y ago · Modified Jun 17, 20262w ago
5.5 CVSS 4.0
Medium
Find Similar
Published Jun 29, 2025 1y ago
Last Modified Jun 17, 2026 2w ago

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 Details

Base Score
5.5
Exploitability
Impact
Vector string
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Attack Vector Network
Attack Complexity Low
Privileges Required None
User Interaction None
Scope X

Threat Intelligence

EPSS Exploit Probability
31.9% percentile
Exploit & Patch Status
No Known Exploit
No Patch Available

Weaknesses 2

CWE-138
CWE-20 Improper Input Validation Validation

References 10

  • github.com https://github.com/ESAPI/esapi-java-legacy/blob/develop/documentation/ESAPI-security-bulletin13.pdf
  • github.com https://github.com/ESAPI/esapi-java-legacy/commit/e2322914304d9b1c52523ff24be495b7832f6a56
  • github.com https://github.com/ESAPI/esapi-java-legacy/commit/f75ac2c2647a81d2cfbdc9c899f8719c240ed512
  • github.com https://github.com/ESAPI/esapi-java-legacy/releases/tag/esapi-2.7.0.0
  • github.com https://github.com/uglory-gll/javasec/blob/main/ESAPI.md
  • lists.debian.org https://lists.debian.org/debian-lts-announce/2025/07/msg00010.html
  • vuldb.com https://vuldb.com/?ctiid.314321
  • vuldb.com https://vuldb.com/?id.314321
  • vuldb.com https://vuldb.com/?submit.590149
  • vuldb.com https://vuldb.com/?submit.590150

Remediation

No remediation data recorded yet

Check vendor advisories and the NVD entry for patch availability.