Skip to main content
Network Thinking Solutions Logo

CVE-2025-5878

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.

All CVEs
CVE-2025-5878Published 6/29/2025

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.

Vendor advisory
CVSS5.5Medium

Overview

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.

Published
6/29/2025
Last modified
6/17/2026
CVE assigner
Not available
NVD analysis
Not available

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
esapi-java-legacy
ESAPI
2.0-rc10

Verify advisory

Source
esapi-java-legacy
ESAPI
2.0-rc11

Verify advisory

Source
esapi-java-legacy
ESAPI
2.0.1

Verify advisory

Source
esapi-java-legacy
ESAPI
2.0GA1

Verify advisory

Source
esapi-java-legacy
ESAPI
2.1.0

Verify advisory

Source
esapi-java-legacy
ESAPI
2.1.0.1

Verify advisory

Source
esapi-java-legacy
ESAPI
2.2.0.0

Verify advisory

Source
esapi-java-legacy
ESAPI
2.2.0.0-RC1

Verify advisory

Source
esapi-java-legacy
ESAPI
2.2.0.0-RC2

Verify advisory

Source
esapi-java-legacy
ESAPI
2.2.0.0-RC3

Verify advisory

Source
esapi-java-legacy
ESAPI
2.2.1.0

Verify advisory

Source
esapi-java-legacy
ESAPI
2.2.1.0-RC1

Verify advisory

Source
esapi-java-legacy
ESAPI
2.2.1.1

Verify advisory

Source
esapi-java-legacy
ESAPI
2.2.2.0

Verify advisory

Source
esapi-java-legacy
ESAPI
2.2.3.0

Verify advisory

Source
esapi-java-legacy
ESAPI
2.2.3.1

Verify advisory

Source
esapi-java-legacy
ESAPI
2.3.0.0

Verify advisory

Source
esapi-java-legacy
ESAPI
2.4.0.0

Verify advisory

Source
esapi-java-legacy
ESAPI
2.5.0.0

Verify advisory

Source
esapi-java-legacy
ESAPI
2.5.1.0

Verify advisory

Source
esapi-java-legacy
ESAPI
2.5.2.0

Verify advisory

Source
esapi-java-legacy
ESAPI
2.5.3.0

Verify advisory

Source
esapi-java-legacy
ESAPI
2.5.3.1

Verify advisory

Source
esapi-java-legacy
ESAPI
2.5.4.0

Verify advisory

Source
esapi-java-legacy
ESAPI
2.5.5.0

Verify advisory

Source
esapi-java-legacy
ESAPI
2.6.0.0

Verify advisory

Source
esapi-java-legacy
ESAPI
2.6.1.0

Verify advisory

Source
esapi-java-legacy
ESAPI
2.6.2.0

Verify advisory

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

Published headline score: 5.5. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.