Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2025-5878— ESAPI esapi-java-legacy SQL Injection Defense Encoder.encodeForSQL special element

Quick assessment

Affected
ESAPI esapi-java-legacy
Exploitation
Public or AI PoC available; prioritize validation
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

OWASP ESAPI是美国OWASP基金会的一个免费的、开源的、Web 应用程序安全控制库,使程序员可以更轻松地编写风险较低的应用程序。 OWASP ESAPI存在安全漏洞,该漏洞源于Encoder.encodeForSQL接口特殊元素中和不当,可能导致SQL注入攻击。

CVSS 7.3 · High EPSS 0.50% · P41

Possible ATT&CK Techniques 1 AI

T1190 · Exploit Public-Facing Application
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2025-5878

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
ESAPI esapi-java-legacy SQL Injection Defense Encoder.encodeForSQL special element
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
Source: CVE Program / CVE List V5
Vulnerability Type
对特殊元素的转义处理不恰当
Source: CVE Program / CVE List V5
Vulnerability Title
OWASP ESAPI 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
OWASP ESAPI是美国OWASP基金会的一个免费的、开源的、Web 应用程序安全控制库,使程序员可以更轻松地编写风险较低的应用程序。 OWASP ESAPI存在安全漏洞,该漏洞源于Encoder.encodeForSQL接口特殊元素中和不当,可能导致SQL注入攻击。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
ESAPI esapi-java-legacy 2.0-rc10 -

II. Public POCs for CVE-2025-5878

# POC Description Source Link Shenlong Link
AI-Generated POC Premium
Qwen3.6-35B-A3B · 11932 chars
Pro+ exclusive includes:
Vulnerability reproduction recording (real sandbox build + trigger, exclusive)
In-depth vulnerability mechanism
Trigger conditions & impact
Full executable POC code
Exploit chain & mitigation
POC zip download
100+ AI POC generations per month

III. Intelligence Information for CVE-2025-5878

请登录查看更多情报信息。

Patches & Fixes for CVE-2025-5878 (1)

Proof of Concept for CVE-2025-5878 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2025-5878

No comments yet


Leave a comment