CVE-2025-5878

Source
https://nvd.nist.gov/vuln/detail/CVE-2025-5878
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-5878.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2025-5878
Published
2025-06-29T12:15:23Z
Modified
2025-07-03T23:46:30.813343Z
Severity
  • 7.3 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Debian:11 / libowasp-esapi-java

Package

Name
libowasp-esapi-java
Purl
pkg:deb/debian/libowasp-esapi-java?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

2.*

2.1.0-3.1
2.2.3.1-1~bpo11+1
2.2.3.1-1
2.4.0.0-1
2.4.0.0-2
2.4.0.0-2.1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:12 / libowasp-esapi-java

Package

Name
libowasp-esapi-java
Purl
pkg:deb/debian/libowasp-esapi-java?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

2.*

2.4.0.0-2
2.4.0.0-2.1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:13 / libowasp-esapi-java

Package

Name
libowasp-esapi-java
Purl
pkg:deb/debian/libowasp-esapi-java?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

2.*

2.4.0.0-2
2.4.0.0-2.1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Git / github.com/esapi/esapi-java-legacy

Affected ranges

Type
GIT
Repo
https://github.com/esapi/esapi-java-legacy
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed
Fixed

Affected versions

esapi-2.*

esapi-2.1.0.1
esapi-2.2.0.0
esapi-2.2.0.0-RC1
esapi-2.2.0.0-RC2
esapi-2.2.0.0-RC3
esapi-2.2.1.0
esapi-2.2.1.0-RC1
esapi-2.2.1.1
esapi-2.2.2.0
esapi-2.2.3.0
esapi-2.2.3.1
esapi-2.3.0.0
esapi-2.4.0.0
esapi-2.5.0.0
esapi-2.5.1.0
esapi-2.5.2.0
esapi-2.5.3.0
esapi-2.5.3.1
esapi-2.5.4.0
esapi-2.5.5.0
esapi-2.6.0.0
esapi-2.6.1.0
esapi-2.6.2.0