{"id":65285,"date":"2025-06-29T18:32:12","date_gmt":"2025-06-29T15:02:12","guid":{"rendered":"https:\/\/afaghhosting.net\/blog\/cve-2025-5878-esapi-sql-injection-defense-encoder-encoder-encodeforsql-improper-neutralization\/"},"modified":"2025-06-29T18:32:12","modified_gmt":"2025-06-29T15:02:12","slug":"cve-2025-5878-esapi-sql-injection-defense-encoder-encoder-encodeforsql-improper-neutralization","status":"publish","type":"post","link":"https:\/\/afaghhosting.net\/blog\/cve-2025-5878-esapi-sql-injection-defense-encoder-encoder-encodeforsql-improper-neutralization\/","title":{"rendered":"CVE-2025-5878 &#8211; &#8220;ESAPI SQL Injection Defense Encoder Encoder.encodeForSQL Improper Neutralization&#8221;"},"content":{"rendered":"<p><strong>CVE ID : <\/strong>CVE-2025-5878<br \/>\n<br \/>\n<strong>Published : <\/strong> June 29, 2025, 12:15 p.m. | 2\u00a0hours, 43\u00a0minutes ago<br \/>\n<br \/>\n<strong>Description : <\/strong>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.<br \/>\n<br \/>\n<strong>Severity:<\/strong> 7.3 | HIGH<br \/>\n<br \/>\nVisit the link for more details, such as CVSS details, affected products, timeline, and more&#8230;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>CVE ID : CVE-2025-5878 Published : June 29, 2025, 12:15 p.m. | 2\u00a0hours, 43\u00a0minutes ago 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 &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[26],"tags":[],"class_list":["post-65285","post","type-post","status-publish","format-standard","hentry","category-vulnerability"],"_links":{"self":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/65285","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/comments?post=65285"}],"version-history":[{"count":0,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/65285\/revisions"}],"wp:attachment":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/media?parent=65285"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/categories?post=65285"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/tags?post=65285"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}