Improper Neutralization of Special Elements Affecting org.owasp.esapi:esapi package, versions [,2.7.0.0)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JAVA-ORGOWASPESAPI-10562218
  • published30 Jun 2025
  • disclosed29 Jun 2025
  • creditUnknown

Introduced: 29 Jun 2025

NewCVE-2025-5878  (opens in a new tab)
CWE-138  (opens in a new tab)

How to fix?

Upgrade org.owasp.esapi:esapi to version 2.7.0.0 or higher.

Overview

org.owasp.esapi:esapi is an OWASP project to create simple strong security controls for every web platform.

Affected versions of this package are vulnerable to Improper Neutralization of Special Elements via the encodeForSQL function in th Encoder.java file. An attacker can manipulate SQL queries by supplying specially crafted input containing special elements.

CVSS Base Scores

version 4.0
version 3.1