CVE-2025-5878

EUVD-2025-28693
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.
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTPrimary
7.3 HIGH
NETWORK
LOW
NONE
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
Awaiting analysis
This vulnerability is currently awaiting analysis.
Base Score
CVSS 3.x
EPSS Score
Percentile: 33.45%
Debian logo
Debian Releases
Debian Product
Codename
libowasp-esapi-java
bookworm
no-dsa
bullseye
vulnerable
bullseye (security)
2.4.0.0-0+deb11u1
fixed
sid
vulnerable
trixie
no-dsa
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
libowasp-esapi-java
bionic
Fixed 2.1.0-3ubuntu0.18.04.1~esm1
released
focal
Fixed 2.1.0-3ubuntu0.20.04.1~esm1
released
jammy
Fixed 2.2.3.1-1ubuntu0.1~esm1
released
noble
Fixed 2.4.0.0-2ubuntu0.1
released
plucky
ignored
questing
ignored
resolute
needed
xenial
Fixed 2.1.0-2ubuntu0.1~esm1
released