
CVE catalog
CVE-2025-5878
ESAPI vulnerabilities
- Severity
- Medium
- Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.50% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | libowasp-esapi-java | sid | 2.4.0.0-3 | vulnerable |
| Debian | libowasp-esapi-java | trixie | 2.4.0.0-2.1 | vulnerable |
| Debian | libowasp-esapi-java | bookworm | 2.4.0.0-2 | vulnerable |
| Ubuntu | libowasp-esapi-java | noble | Not reported | vulnerable |
| Ubuntu | libowasp-esapi-java | noble | 2.4.0.0-2ubuntu0.1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | libowasp-esapi-java | source | sid | (unfixed) | not yet assigned | Not reported | [1109378] |
| Debian | libowasp-esapi-java | source | trixie | (unfixed) | not yet assigned | Not reported | [1109378] |
| Debian | libowasp-esapi-java | source | bookworm | (unfixed) | not yet assigned | Not reported | [1109378] |
| Ubuntu | libowasp-esapi-java | deb | noble | 2.4.0.0-2ubuntu0.1 | Not reported | Not reported | Not reported |
Notes
[trixie] libowasp-esapi-java: Minor issue [bookworm] libowasp-esapi-java: Minor issue
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [libowasp-esapi-java]Affected
Details (2)
2.4.0.0-2· all · bookwormAffected
usn · libowasp-esapi-java · debian · bookworm; usn · libowasp-esapi-java · debian · 12
2.4.0.0-2· all · bookwormAffected
usn · libowasp-esapi-java · debian · bookworm; usn · libowasp-esapi-java · debian · 12
[Debian 13 (Trixie)]
- [libowasp-esapi-java]Affected
Details (2)
2.4.0.0-2.1· all · trixieAffected
usn · libowasp-esapi-java · debian · 13
2.4.0.0-2.1· all · trixieAffected
usn · libowasp-esapi-java · debian · 13
Observed:
References
- [https://osv.dev/vulnerability/DEBIAN-CVE-2025-5878]
- [https://security-tracker.debian.org/tracker/CVE-2025-5878]
- [https://ubuntu.com/security/notices/USN-8181-1]
- [https://wid.cert-bund.de/.well-known/csaf/white/2025/wid-sec-w-2025-2353.json]
[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [Ubuntu Security Notices (USN)]