CVE-2025-5878: ESAPI esapi-java-legacy SQL Injection Defense Encoder.encodeForSQL special element
ESAPI · esapi-java-legacy
Vendor fix available · Affected: esapi-java-legacy · Exploitation: unlikely (under 1%)
Not in CyberSIXT coverage yet: no article names this CVE. This page shows the public record.
Higher than 42% of scored CVEs
DescriptionCVE.org
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.
Affected products1
From the CVE record. A product or version that is not listed is unknown, not unaffected.
- ESAPI · esapi-java-legacy2.0-rc10; 2.0-rc11; 2.0.1; 2.0GA1; 2.1.0; 2.1.0.1 and 22 more
On the Atlas
Every published CVE is on the CyberSIXT Atlas, grouped by weakness, vendor and month.
- Exploitation
- Unlikely (under 1%). EPSS under 1%, or no score yet.
- CISA KEV
- Not listed
- Public check
- No public nuclei template
- Published
- June 2025
CoverageNo articles yet
No CyberSIXT article names CVE-2025-5878 yet, so there is no coverage timeline, action brief or change log for it. Everything on this page comes from the public CVE record, CISA KEV, EPSS and the nuclei template index. Search the archive or see the CVEs in the news.
References
- NVD entrynvd.nist.gov
- CVE recordcve.org
- Weakness CWE-138cwe.mitre.org
- Patchgithub.com
- Patchgithub.com
- Patchgithub.com
- Technical descriptionvuldb.com
- vuldb.com/?ctiid.314321vuldb.com
- Third-party advisoryvuldb.com
- Third-party advisoryvuldb.com
- github.com/uglory-gll/javasec/blob/main/ESAPI.mdgithub.com
- github.com/ESAPI/esapi-java-legacy/blob/develop/documentation/ESgithub.com
- lists.debian.org/debian-lts-announce/2025/07/msg00010.htmllists.debian.org