{"api_version":"1","generated_at":"2026-07-23T13:02:34+00:00","cve":"CVE-2025-5878","urls":{"html":"https://cve.report/CVE-2025-5878","api":"https://cve.report/api/cve/CVE-2025-5878.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2025-5878","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2025-5878"},"summary":{"title":"ESAPI esapi-java-legacy SQL Injection Defense Encoder.encodeForSQL special element","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.","state":"PUBLISHED","assigner":"VulDB","published_at":"2025-06-29 12:15:23","updated_at":"2026-04-29 01:00:01"},"problem_types":["CWE-20","CWE-138","CWE-138 Improper Neutralization of Special Elements","CWE-20 Improper Input Validation"],"metrics":[{"version":"4.0","source":"cna@vuldb.com","type":"Secondary","score":"5.5","severity":"MEDIUM","vector":"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/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","data":{"version":"4.0","vectorString":"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/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","baseScore":5.5,"baseSeverity":"MEDIUM","attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"NONE","userInteraction":"NONE","vulnConfidentialityImpact":"LOW","vulnIntegrityImpact":"LOW","vulnAvailabilityImpact":"LOW","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","exploitMaturity":"PROOF_OF_CONCEPT","confidentialityRequirement":"NOT_DEFINED","integrityRequirement":"NOT_DEFINED","availabilityRequirement":"NOT_DEFINED","modifiedAttackVector":"NOT_DEFINED","modifiedAttackComplexity":"NOT_DEFINED","modifiedAttackRequirements":"NOT_DEFINED","modifiedPrivilegesRequired":"NOT_DEFINED","modifiedUserInteraction":"NOT_DEFINED","modifiedVulnConfidentialityImpact":"NOT_DEFINED","modifiedVulnIntegrityImpact":"NOT_DEFINED","modifiedVulnAvailabilityImpact":"NOT_DEFINED","modifiedSubConfidentialityImpact":"NOT_DEFINED","modifiedSubIntegrityImpact":"NOT_DEFINED","modifiedSubAvailabilityImpact":"NOT_DEFINED","Safety":"NOT_DEFINED","Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","valueDensity":"NOT_DEFINED","vulnerabilityResponseEffort":"NOT_DEFINED","providerUrgency":"NOT_DEFINED"}},{"version":"4.0","source":"CNA","type":"DECLARED","score":"6.9","severity":"MEDIUM","vector":"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","data":{"baseScore":6.9,"baseSeverity":"MEDIUM","vectorString":"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","version":"4.0"}},{"version":"3.1","source":"cna@vuldb.com","type":"Secondary","score":"7.3","severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","data":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","baseScore":7.3,"baseSeverity":"HIGH","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"LOW","integrityImpact":"LOW","availabilityImpact":"LOW"}},{"version":"3.1","source":"CNA","type":"DECLARED","score":"7.3","severity":"HIGH","vector":"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","data":{"baseScore":7.3,"baseSeverity":"HIGH","vectorString":"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","version":"3.1"}},{"version":"3.0","source":"CNA","type":"DECLARED","score":"7.3","severity":"HIGH","vector":"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","data":{"baseScore":7.3,"baseSeverity":"HIGH","vectorString":"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","version":"3.0"}},{"version":"2.0","source":"cna@vuldb.com","type":"Secondary","score":"7.5","severity":"","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","data":{"version":"2.0","vectorString":"AV:N/AC:L/Au:N/C:P/I:P/A:P","baseScore":7.5,"accessVector":"NETWORK","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"PARTIAL","availabilityImpact":"PARTIAL"}},{"version":"2.0","source":"CNA","type":"DECLARED","score":"7.5","severity":"","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P/E:POC/RL:OF/RC:C","data":{"baseScore":7.5,"vectorString":"AV:N/AC:L/Au:N/C:P/I:P/A:P/E:POC/RL:OF/RC:C","version":"2.0"}}],"references":[{"url":"https://vuldb.com/?id.314321","name":"https://vuldb.com/?id.314321","refsource":"cna@vuldb.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://lists.debian.org/debian-lts-announce/2025/07/msg00010.html","name":"https://lists.debian.org/debian-lts-announce/2025/07/msg00010.html","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/ESAPI/esapi-java-legacy/releases/tag/esapi-2.7.0.0","name":"https://github.com/ESAPI/esapi-java-legacy/releases/tag/esapi-2.7.0.0","refsource":"cna@vuldb.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/ESAPI/esapi-java-legacy/commit/f75ac2c2647a81d2cfbdc9c899f8719c240ed512","name":"https://github.com/ESAPI/esapi-java-legacy/commit/f75ac2c2647a81d2cfbdc9c899f8719c240ed512","refsource":"cna@vuldb.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://vuldb.com/?submit.590149","name":"https://vuldb.com/?submit.590149","refsource":"cna@vuldb.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://vuldb.com/?submit.590150","name":"https://vuldb.com/?submit.590150","refsource":"cna@vuldb.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/ESAPI/esapi-java-legacy/commit/e2322914304d9b1c52523ff24be495b7832f6a56","name":"https://github.com/ESAPI/esapi-java-legacy/commit/e2322914304d9b1c52523ff24be495b7832f6a56","refsource":"cna@vuldb.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/ESAPI/esapi-java-legacy/blob/develop/documentation/ESAPI-security-bulletin13.pdf","name":"https://github.com/ESAPI/esapi-java-legacy/blob/develop/documentation/ESAPI-security-bulletin13.pdf","refsource":"cna@vuldb.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/uglory-gll/javasec/blob/main/ESAPI.md","name":"https://github.com/uglory-gll/javasec/blob/main/ESAPI.md","refsource":"cna@vuldb.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://vuldb.com/?ctiid.314321","name":"https://vuldb.com/?ctiid.314321","refsource":"cna@vuldb.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2025-5878","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-5878","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"ESAPI","product":"esapi-java-legacy","version":"affected 2.0-rc10","platforms":[]},{"source":"CNA","vendor":"ESAPI","product":"esapi-java-legacy","version":"affected 2.0-rc11","platforms":[]},{"source":"CNA","vendor":"ESAPI","product":"esapi-java-legacy","version":"affected 2.0.1","platforms":[]},{"source":"CNA","vendor":"ESAPI","product":"esapi-java-legacy","version":"affected 2.0GA1","platforms":[]},{"source":"CNA","vendor":"ESAPI","product":"esapi-java-legacy","version":"affected 2.1.0","platforms":[]},{"source":"CNA","vendor":"ESAPI","product":"esapi-java-legacy","version":"affected 2.1.0.1","platforms":[]},{"source":"CNA","vendor":"ESAPI","product":"esapi-java-legacy","version":"affected 2.2.0.0","platforms":[]},{"source":"CNA","vendor":"ESAPI","product":"esapi-java-legacy","version":"affected 2.2.0.0-RC1","platforms":[]},{"source":"CNA","vendor":"ESAPI","product":"esapi-java-legacy","version":"affected 2.2.0.0-RC2","platforms":[]},{"source":"CNA","vendor":"ESAPI","product":"esapi-java-legacy","version":"affected 2.2.0.0-RC3","platforms":[]},{"source":"CNA","vendor":"ESAPI","product":"esapi-java-legacy","version":"affected 2.2.1.0","platforms":[]},{"source":"CNA","vendor":"ESAPI","product":"esapi-java-legacy","version":"affected 2.2.1.0-RC1","platforms":[]},{"source":"CNA","vendor":"ESAPI","product":"esapi-java-legacy","version":"affected 2.2.1.1","platforms":[]},{"source":"CNA","vendor":"ESAPI","product":"esapi-java-legacy","version":"affected 2.2.2.0","platforms":[]},{"source":"CNA","vendor":"ESAPI","product":"esapi-java-legacy","version":"affected 2.2.3.0","platforms":[]},{"source":"CNA","vendor":"ESAPI","product":"esapi-java-legacy","version":"affected 2.2.3.1","platforms":[]},{"source":"CNA","vendor":"ESAPI","product":"esapi-java-legacy","version":"affected 2.3.0.0","platforms":[]},{"source":"CNA","vendor":"ESAPI","product":"esapi-java-legacy","version":"affected 2.4.0.0","platforms":[]},{"source":"CNA","vendor":"ESAPI","product":"esapi-java-legacy","version":"affected 2.5.0.0","platforms":[]},{"source":"CNA","vendor":"ESAPI","product":"esapi-java-legacy","version":"affected 2.5.1.0","platforms":[]},{"source":"CNA","vendor":"ESAPI","product":"esapi-java-legacy","version":"affected 2.5.2.0","platforms":[]},{"source":"CNA","vendor":"ESAPI","product":"esapi-java-legacy","version":"affected 2.5.3.0","platforms":[]},{"source":"CNA","vendor":"ESAPI","product":"esapi-java-legacy","version":"affected 2.5.3.1","platforms":[]},{"source":"CNA","vendor":"ESAPI","product":"esapi-java-legacy","version":"affected 2.5.4.0","platforms":[]},{"source":"CNA","vendor":"ESAPI","product":"esapi-java-legacy","version":"affected 2.5.5.0","platforms":[]},{"source":"CNA","vendor":"ESAPI","product":"esapi-java-legacy","version":"affected 2.6.0.0","platforms":[]},{"source":"CNA","vendor":"ESAPI","product":"esapi-java-legacy","version":"affected 2.6.1.0","platforms":[]},{"source":"CNA","vendor":"ESAPI","product":"esapi-java-legacy","version":"affected 2.6.2.0","platforms":[]},{"source":"CNA","vendor":"ESAPI","product":"esapi-java-legacy","version":"unaffected 2.7.0.0","platforms":[]}],"timeline":[{"source":"CNA","time":"2025-06-28T00:00:00.000Z","lang":"en","value":"Advisory disclosed"},{"source":"CNA","time":"2025-06-28T02:00:00.000Z","lang":"en","value":"VulDB entry created"},{"source":"CNA","time":"2025-06-29T13:13:22.000Z","lang":"en","value":"VulDB entry last update"}],"solutions":[],"workarounds":[],"exploits":[],"credits":[{"source":"CNA","value":"Longlong Gong","lang":"en"},{"source":"CNA","value":"uglory (VulDB User)","lang":"en"}],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"adp":[{"metrics":[{"other":{"content":{"id":"CVE-2025-5878","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","timestamp":"2025-06-30T20:10:23.941435Z","version":"2.0.3"},"type":"ssvc"}}],"providerMetadata":{"dateUpdated":"2025-06-30T20:11:01.775Z","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP"},"title":"CISA ADP Vulnrichment"},{"providerMetadata":{"dateUpdated":"2025-11-03T20:06:42.000Z","orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE"},"references":[{"url":"https://lists.debian.org/debian-lts-announce/2025/07/msg00010.html"}],"title":"CVE Program Container"}],"cna":{"affected":[{"modules":["SQL Injection Defense"],"product":"esapi-java-legacy","vendor":"ESAPI","versions":[{"status":"affected","version":"2.0-rc10"},{"status":"affected","version":"2.0-rc11"},{"status":"affected","version":"2.0.1"},{"status":"affected","version":"2.0GA1"},{"status":"affected","version":"2.1.0"},{"status":"affected","version":"2.1.0.1"},{"status":"affected","version":"2.2.0.0"},{"status":"affected","version":"2.2.0.0-RC1"},{"status":"affected","version":"2.2.0.0-RC2"},{"status":"affected","version":"2.2.0.0-RC3"},{"status":"affected","version":"2.2.1.0"},{"status":"affected","version":"2.2.1.0-RC1"},{"status":"affected","version":"2.2.1.1"},{"status":"affected","version":"2.2.2.0"},{"status":"affected","version":"2.2.3.0"},{"status":"affected","version":"2.2.3.1"},{"status":"affected","version":"2.3.0.0"},{"status":"affected","version":"2.4.0.0"},{"status":"affected","version":"2.5.0.0"},{"status":"affected","version":"2.5.1.0"},{"status":"affected","version":"2.5.2.0"},{"status":"affected","version":"2.5.3.0"},{"status":"affected","version":"2.5.3.1"},{"status":"affected","version":"2.5.4.0"},{"status":"affected","version":"2.5.5.0"},{"status":"affected","version":"2.6.0.0"},{"status":"affected","version":"2.6.1.0"},{"status":"affected","version":"2.6.2.0"},{"status":"unaffected","version":"2.7.0.0"}]}],"credits":[{"lang":"en","type":"finder","value":"Longlong Gong"},{"lang":"en","type":"reporter","value":"uglory (VulDB User)"}],"descriptions":[{"lang":"en","value":"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."},{"lang":"de","value":"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."}],"metrics":[{"cvssV4_0":{"baseScore":6.9,"baseSeverity":"MEDIUM","vectorString":"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","version":"4.0"}},{"cvssV3_1":{"baseScore":7.3,"baseSeverity":"HIGH","vectorString":"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","version":"3.1"}},{"cvssV3_0":{"baseScore":7.3,"baseSeverity":"HIGH","vectorString":"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","version":"3.0"}},{"cvssV2_0":{"baseScore":7.5,"vectorString":"AV:N/AC:L/Au:N/C:P/I:P/A:P/E:POC/RL:OF/RC:C","version":"2.0"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-138","description":"Improper Neutralization of Special Elements","lang":"en","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-20","description":"Improper Input Validation","lang":"en","type":"CWE"}]}],"providerMetadata":{"dateUpdated":"2025-06-29T11:11:47.327Z","orgId":"1af790b2-7ee1-4545-860a-a788eba489b5","shortName":"VulDB"},"references":[{"name":"VDB-314321 | ESAPI esapi-java-legacy SQL Injection Defense Encoder.encodeForSQL special element","tags":["vdb-entry","technical-description"],"url":"https://vuldb.com/?id.314321"},{"name":"VDB-314321 | CTI Indicators (IOB, IOC, IOA)","tags":["signature","permissions-required"],"url":"https://vuldb.com/?ctiid.314321"},{"name":"Submit #590149 | ESAPI esapi-java-legacy 2.6.2.0 SQL injection filtering bypass1","tags":["third-party-advisory"],"url":"https://vuldb.com/?submit.590149"},{"name":"Submit #590150 | ESAPI esapi-java-legacy 2.6.2.0 SQL injection filtering bypass2 (Duplicate)","tags":["third-party-advisory"],"url":"https://vuldb.com/?submit.590150"},{"tags":["related"],"url":"https://github.com/uglory-gll/javasec/blob/main/ESAPI.md"},{"tags":["related"],"url":"https://github.com/ESAPI/esapi-java-legacy/blob/develop/documentation/ESAPI-security-bulletin13.pdf"},{"tags":["patch"],"url":"https://github.com/ESAPI/esapi-java-legacy/commit/f75ac2c2647a81d2cfbdc9c899f8719c240ed512"},{"tags":["patch"],"url":"https://github.com/ESAPI/esapi-java-legacy/releases/tag/esapi-2.7.0.0"},{"tags":["patch"],"url":"https://github.com/ESAPI/esapi-java-legacy/commit/e2322914304d9b1c52523ff24be495b7832f6a56"}],"timeline":[{"lang":"en","time":"2025-06-28T00:00:00.000Z","value":"Advisory disclosed"},{"lang":"en","time":"2025-06-28T02:00:00.000Z","value":"VulDB entry created"},{"lang":"en","time":"2025-06-29T13:13:22.000Z","value":"VulDB entry last update"}],"title":"ESAPI esapi-java-legacy SQL Injection Defense Encoder.encodeForSQL special element"}},"cveMetadata":{"assignerOrgId":"1af790b2-7ee1-4545-860a-a788eba489b5","assignerShortName":"VulDB","cveId":"CVE-2025-5878","datePublished":"2025-06-29T11:11:47.327Z","dateReserved":"2025-06-08T18:06:00.263Z","dateUpdated":"2025-11-03T20:06:42.000Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2025-06-29 12:15:23","lastModifiedDate":"2026-04-29 01:00:01","problem_types":["CWE-20","CWE-138","CWE-138 Improper Neutralization of Special Elements","CWE-20 Improper Input Validation"],"metrics":{"cvssMetricV40":[{"source":"cna@vuldb.com","type":"Secondary","cvssData":{"version":"4.0","vectorString":"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/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","baseScore":5.5,"baseSeverity":"MEDIUM","attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"NONE","userInteraction":"NONE","vulnConfidentialityImpact":"LOW","vulnIntegrityImpact":"LOW","vulnAvailabilityImpact":"LOW","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","exploitMaturity":"PROOF_OF_CONCEPT","confidentialityRequirement":"NOT_DEFINED","integrityRequirement":"NOT_DEFINED","availabilityRequirement":"NOT_DEFINED","modifiedAttackVector":"NOT_DEFINED","modifiedAttackComplexity":"NOT_DEFINED","modifiedAttackRequirements":"NOT_DEFINED","modifiedPrivilegesRequired":"NOT_DEFINED","modifiedUserInteraction":"NOT_DEFINED","modifiedVulnConfidentialityImpact":"NOT_DEFINED","modifiedVulnIntegrityImpact":"NOT_DEFINED","modifiedVulnAvailabilityImpact":"NOT_DEFINED","modifiedSubConfidentialityImpact":"NOT_DEFINED","modifiedSubIntegrityImpact":"NOT_DEFINED","modifiedSubAvailabilityImpact":"NOT_DEFINED","Safety":"NOT_DEFINED","Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","valueDensity":"NOT_DEFINED","vulnerabilityResponseEffort":"NOT_DEFINED","providerUrgency":"NOT_DEFINED"}}],"cvssMetricV31":[{"source":"cna@vuldb.com","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","baseScore":7.3,"baseSeverity":"HIGH","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"LOW","integrityImpact":"LOW","availabilityImpact":"LOW"},"exploitabilityScore":3.9,"impactScore":3.4}],"cvssMetricV2":[{"source":"cna@vuldb.com","type":"Secondary","cvssData":{"version":"2.0","vectorString":"AV:N/AC:L/Au:N/C:P/I:P/A:P","baseScore":7.5,"accessVector":"NETWORK","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"PARTIAL","availabilityImpact":"PARTIAL"},"baseSeverity":"HIGH","exploitabilityScore":10,"impactScore":6.4,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}]},"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2025","CveId":"5878","Ordinal":"1","Title":"ESAPI esapi-java-legacy SQL Injection Defense Encoder.encodeForS","CVE":"CVE-2025-5878","Year":"2025"},"notes":[{"CveYear":"2025","CveId":"5878","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"ESAPI esapi-java-legacy SQL Injection Defense Encoder.encodeForS"}]}}}