PoC Monitor
← All CVEs
CVE-2025-5878published 29 Jun 2025 11:11 UTCData: JSON · API

ESAPI esapi-java-legacy

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

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.

First public PoC 344 daysafter publication · 8 Jun 2026
Public PoCs11 on GitHub
CVSS7.5high · scored by CNA · CWE-138
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

ESAPI esapi-java-legacy
  • 2.0-rc10
  • 2.0-rc11
  • 2.0.1
  • 2.0GA1
  • 2.1.0
  • 2.1.0.1
  • 2.2.0.0
  • 2.2.0.0-RC1
  • 2.2.0.0-RC2
  • 2.2.0.0-RC3
  • 2.2.1.0
  • 2.2.1.0-RC1
  • 2.2.1.1
  • 2.2.2.0
  • 2.2.3.0
  • 2.2.3.1
  • 2.3.0.0
  • 2.4.0.0
  • 2.5.0.0
  • 2.5.1.0
  • 2.5.2.0
  • 2.5.3.0
  • 2.5.3.1
  • 2.5.4.0
  • 2.5.5.0
  • 2.6.0.0
  • 2.6.1.0
  • 2.6.2.0

Fixed in 2.7.0.0

Timeline

Days relative to CVE publication
t=0+60+120+180+240+300CVE published29 Jun 2025 · t = 0First public PoC8 Jun 2026 · t+344d

First public PoC 344 days after publication; not in CISA KEV. First PoC: fantasy-fql/ESAPI-SQLinjection-CVE-2025-5878-Exploit (created 8 Jun 2026, found by us: backfilled).

PoC repositories

Found on GitHub.

1 PoCs

PoCs 1
RepositoryCreatedStarsAssessment
fantasy-fql/ESAPI-SQLinjection-CVE-2025-5878-Exploit 8 Jun 2026 +344 d 0 PoC

Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.