CVE-2025-5878

libowasp-esapi-java: A vulnerability was found in ESAPI esapi-java-legacy and classified as problematic

CVE-2025-5878 is fixed in libowasp-esapi-java on 1 platform, first by libowasp-esapi-java 2.1.0-3ubuntu0.18.04.1~esm1, released June 29, 2025. It is not reported as exploited. Patch Radar priority: Routine.

Routine
CVSS
n/a
Medium
Exploitation
None reported
No vendor assessment
CISA KEV
Not listed
Not in the Known Exploited Vulnerabilities catalog
EPSS
0.0049
42nd percentile

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.

Where it's fixed

ProductFixed inFixReleased
Linux
libowasp-esapi-java · Ubuntu 18.04.6 LTS (bionic) 2.1.0-3ubuntu0.18.04.1~esm1 libowasp-esapi-java 2.1.0-3ubuntu0.18.04.1~esm1 Jun 29, 2025
libowasp-esapi-java · Ubuntu 20.04 LTS (focal) 2.1.0-3ubuntu0.20.04.1~esm1 libowasp-esapi-java 2.1.0-3ubuntu0.20.04.1~esm1 Jun 29, 2025
libowasp-esapi-java · Ubuntu 22.04.1 LTS (jammy) 2.2.3.1-1ubuntu0.1~esm1 libowasp-esapi-java 2.2.3.1-1ubuntu0.1~esm1 Jun 29, 2025
libowasp-esapi-java · Ubuntu 24.04.5 LTS (noble) 2.4.0.0-2ubuntu0.1 libowasp-esapi-java 2.4.0.0-2ubuntu0.1 Jun 29, 2025

Patch Radar data is free to use with attribution. Terms and how to credit it.

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.