Skip to content
CVE Tracker
  • Newest CVEsPage
  • Recently added to KEVPage
  • Rising exploitation (EPSS)Page
  • Weekly digestPage
  • StatisticsPage
  • WatchlistPage
  • API documentationPage
  • MCP serverPage
  • Data sourcesPage
  • ChangelogPage
  • AboutPage
  • How it's builtPage
Back

CVE-2025-5878

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

Medium6.9EPSS 0.49%
Published
Updated
Reserved
Assigned by
VulDB

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.

Scores

CVSS scores of CVE-2025-5878, by who scored it
Scored byCVSSScoreVector
VulDBCNA (assigner)4.0Medium6.9CVSS: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
VulDBCNA (assigner)3.1High7.3CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P/RL:O/RC:C
VulDBCNA (assigner)3.0High7.3CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P/RL:O/RC:C
VulDBCNA (assigner)2.0High7.5AV:N/AC:L/Au:N/C:P/I:P/A:P/E:POC/RL:OF/RC:C
NVDNVD · Deferred4.0Medium5.5CVSS: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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
EPSS (exploitation in 30 days)
0.49% · top 57% of all CVEs (6 Nov 2026)
CISA SSVC
Exploitation: poc · Automatable: no · Technical impact: partial
Loading the EPSS history…

The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 6.9.

Weakness

Affected products

  • ESAPI · esapi-java-legacy

    • affected 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
    • unaffected 2.7.0.0

References (10)

Sources

The same CVE in the primary databases and aggregators, to check against.

Badge for a README or a ticket

CVE-2025-5878 badge
[![CVE-2025-5878](https://trackcve.app/badge/CVE-2025-5878.svg)](https://trackcve.app/cve/CVE-2025-5878)

Record last updated .