{
  "schemaVersion": 1,
  "attribution": [
    {
      "source": "CISA Known Exploited Vulnerabilities",
      "url": "https://www.cisa.gov/known-exploited-vulnerabilities-catalog",
      "licence": "US government work"
    },
    {
      "source": "GitHub Advisory Database",
      "url": "https://github.com/advisories",
      "licence": "CC BY 4.0"
    },
    {
      "source": "Have I Been Pwned",
      "url": "https://haveibeenpwned.com/",
      "licence": "CC BY 4.0"
    },
    {
      "source": "CVE Program (CVE records)",
      "url": "https://www.cve.org/Legal/TermsOfUse",
      "licence": "CVE Terms of Use",
      "notice": "Copyright © 1999-2026, The MITRE Corporation. CVE is a trademark and the CVE logo is a registered trademark of The MITRE Corporation.",
      "terms": "CVE Usage: MITRE hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute Common Vulnerabilities and Exposures (CVE™). Any copy you make for such purposes is authorized provided that you reproduce MITRE's copyright designation and this license in any such copy."
    },
    {
      "source": "FIRST EPSS",
      "url": "https://www.first.org/epss/",
      "licence": "free to use; FIRST requests attribution"
    }
  ],
  "record": {
    "id": "CVE-2025-5878",
    "sourceURL": "https://www.cve.org/CVERecord?id=CVE-2025-5878",
    "idYear": 2025,
    "status": "PUBLISHED",
    "publishedAt": "2025-06-29T11:11:47.327Z",
    "updatedAt": "2025-11-03T20:06:42.000Z",
    "importedAt": "2026-10-24T01:57:39.058Z",
    "snapshot": {
      "id": "cve_2026-10-24_midnight_baseline",
      "at": "2026-10-24T00:00:00.000Z",
      "source": "https://github.com/CVEProject/cvelistV5/releases/tag/cve_2026-10-24_0100Z"
    },
    "facts": {
      "title": "ESAPI esapi-java-legacy SQL Injection Defense Encoder.encodeForSQL special element",
      "summary": "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.",
      "affected": [
        {
          "vendor": "ESAPI",
          "product": "esapi-java-legacy",
          "versions": [
            {
              "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": "affected"
            },
            {
              "version": "2.7.0.0",
              "status": "unaffected"
            }
          ]
        }
      ]
    }
  }
}