Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2025-5878

published medium CVSS 4.0 · 6.9

ESAPI esapi-java-legacy SQL Injection Defense Encoder.encodeForSQL special element

Published
29 Jun 2025, 11:11:47 UTC
Updated
03 Nov 2025, 20:06:42 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
ESAPI — esapi-java-legacy2.0-rc10 (affected) · 2.0-rc11 (affected) · 2.0.1 (affected) · 2.0GA1 (affected) · 2.1.0 (affected) · 2.1.0.1 (affected) · 2.2.0.0 (affected) · 2.2.0.0-RC1 (affected) · 2.2.0.0-RC2 (affected) · 2.2.0.0-RC3 (affected) · 2.2.1.0 (affected) · 2.2.1.0-RC1 (affected) · 2.2.1.1 (affected) · 2.2.2.0 (affected) · 2.2.3.0 (affected) · 2.2.3.1 (affected) · 2.3.0.0 (affected) · 2.4.0.0 (affected) · 2.5.0.0 (affected) · 2.5.1.0 (affected) · 2.5.2.0 (affected) · 2.5.3.0 (affected) · 2.5.3.1 (affected) · 2.5.4.0 (affected) · 2.5.5.0 (affected) · 2.6.0.0 (affected) · 2.6.1.0 (affected) · 2.6.2.0 (affected) · 2.7.0.0 (unaffected) Version-specific Not stated VulDB
Debian bullseye libowasp-esapi-java Advisory build 2.4.0.0-0+deb11u1 DLA-4246-1
Ubuntu bionic libowasp-esapi-java Advisory build 2.1.0-3ubuntu0.18.04.1~esm1 USN-8181-1
Ubuntu focal libowasp-esapi-java Advisory build 2.1.0-3ubuntu0.20.04.1~esm1 USN-8181-1
Ubuntu jammy libowasp-esapi-java Advisory build 2.2.3.1-1ubuntu0.1~esm1 USN-8181-1
Ubuntu noble libowasp-esapi-java Advisory build 2.4.0.0-2ubuntu0.1 USN-8181-1
Ubuntu xenial libowasp-esapi-java Advisory build 2.1.0-2ubuntu0.1~esm1 USN-8181-1

Description

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.

en · VulDB · cna

de · VulDB · cna

Eine problematische Schwachstelle wurde in ESAPI esapi-java-legacy gefunden. Es geht hierbei um die Funktion Encoder.encodeForSQL der Komponente SQL Injection Defense. Durch das Manipulieren mit unbekannten Daten kann eine improper neutralization of special elements-Schwachstelle ausgenutzt werden. Der Angriff kann über das Netzwerk angegangen werden. Der Exploit steht zur öffentlichen Verfügung. Ein Aktualisieren auf die Version 2.7.0.0 vermag dieses Problem zu lösen. Der Patch wird als f75ac2c2647a81d2cfbdc9c899f8719c240ed512 bezeichnet. Als bestmögliche Massnahme wird das Einspielen eines Upgrades empfohlen.

Vendor advisories explicitly linked to this CVE.

6

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
4.0
Base score
6.9 / 10
Severity
medium
Provider
VulDB · cna
Vector string
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P

Additional Assessments

Additional normalized CVSS assessments
VersionScoreSeverityProviderVectorScenarios
3.1 7.3 high VulDB · cna CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P/RL:O/RC:C —
3.0 7.3 high VulDB · cna CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P/RL:O/RC:C —
2.0 7.5 high VulDB · cna AV:N/AC:L/Au:N/C:P/I:P/A:P/E:POC/RL:OF/RC:C —

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
ESAPI esapi-java-legacy 2.0-rc10 (affected)2.0-rc11 (affected)2.0.1 (affected)2.0GA1 (affected)2.1.0 (affected)2.1.0.1 (affected)2.2.0.0 (affected)2.2.0.0-RC1 (affected)2.2.0.0-RC2 (affected)2.2.0.0-RC3 (affected)2.2.1.0 (affected)2.2.1.0-RC1 (affected)2.2.1.1 (affected)2.2.2.0 (affected)2.2.3.0 (affected)2.2.3.1 (affected)2.3.0.0 (affected)2.4.0.0 (affected)2.5.0.0 (affected)2.5.1.0 (affected)2.5.2.0 (affected)2.5.3.0 (affected)2.5.3.1 (affected)2.5.4.0 (affected)2.5.5.0 (affected)2.6.0.0 (affected)2.6.1.0 (affected)2.6.2.0 (affected)2.7.0.0 (unaffected) VulDB · cna

Weaknesses

2
  • CWE-138 Improper Neutralization of Special Elements (VulDB · cna)
  • CWE-20 Improper Input Validation (VulDB · cna)

References

10

Provider assertions

3

VulDB · cna

ESAPI esapi-java-legacy SQL Injection Defense Encoder.encodeForSQL special element

CISA-ADP · adp

CISA ADP Vulnrichment

CVE · adp

CVE Program Container

Provenance

Schema
5.2
Searchable
yes
Content hash
b3bc8d889f32682e377221499cf4f0f309b77131aee8fdfeda588c25611ac869
Ingested
23 Sep 2026, 08:54:47 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected