{"schemaVersion":3,"id":"CVE-2022-24891","aliases":["UBUNTU-CVE-2022-24891","DEBIAN-CVE-2022-24891","GHSA-q77q-vx4q-xx6q"],"status":"published","duplicateOf":null,"title":null,"description":"ESAPI (The OWASP Enterprise Security API) is a free, open source, web application security control library. Prior to version 2.3.0.0, there is a potential for a cross-site scripting vulnerability in ESAPI caused by a incorrect regular expression for \"onsiteURL\" in the **antisamy-esapi.xml** configuration file that can cause \"javascript:\" URLs to fail to be correctly sanitized. This issue is patched in ESAPI 2.3.0.0. As a workaround, manually edit the **antisamy-esapi.xml** configuration files to change the \"onsiteURL\" regular expression. More information about remediation of the vulnerability, including the workaround, is available in the maintainers' release notes and security bulletin.","dates":{"published":"2022-04-27T00:00:00.000Z","modified":"2025-11-03T19:26:55.130Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":6.1,"severity":"medium","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":5.4,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":6.1,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","exploitability":7.2,"impact":4.5,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":6.1,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","exploitability":7.2,"impact":4.5,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Maven","score":6.1,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","exploitability":7.2,"impact":4.5,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":6.1,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":4.3,"severity":"medium","vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.01715,"percentile":0.7706,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.01715},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.01688,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.01688,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.01715,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.01715,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.01715,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.01715,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.01715,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01715,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01715,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01715,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01715,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01715,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01715,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01715,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01715,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01715,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01715,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01715,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01715,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01715,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01715,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01715,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01715,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01715,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01715,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01715,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01715,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01715,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01715,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01715,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01715,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01715,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01715,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01715,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01715,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01715,"percentile":0.7706}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.01715,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.01715,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01715,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01715,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01715,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01715,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01715,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01715,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01715,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01715,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01715,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01715,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01715,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01715,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01715,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01715,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01715,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01715,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01715,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01715,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01715,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01715,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01715,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01715,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01715,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01715,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01715,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01715,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01715,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01715,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01715,"percentile":0.7706}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"GITHUB_ESAPI_ESAPI-JAVA-LEGACY","name":"Esapi Java Legacy","source":"github","url":"https://github.com/ESAPI/esapi-java-legacy/blob/develop/documentation/ESAPI-security-bulletin8.pdf","maturity":"poc","reliabilityScore":0.3,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","description":"The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/79.html"}],"affected":[{"vendor":"debian","product":"libowasp-esapi-java","name":"libowasp-esapi-java","label":"libowasp-esapi-java","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/libowasp-esapi-java","purlType":"deb","versions":[{"text":"< 2.4.0.0-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.4.0.0-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"libowasp-esapi-java","name":"libowasp-esapi-java","label":"libowasp-esapi-java","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/libowasp-esapi-java","purlType":"deb","versions":[{"text":"< 2.1.0-2ubuntu0.1~esm1","noFixRecorded":false,"fixedIn":null},{"text":"< 2.1.0-3ubuntu0.18.04.1~esm1","noFixRecorded":false,"fixedIn":null},{"text":"< 2.1.0-3ubuntu0.20.04.1~esm1","noFixRecorded":false,"fixedIn":null},{"text":"< 2.2.3.1-1ubuntu0.1~esm1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.1.0-2ubuntu0.1~esm1 | < 2.1.0-3ubuntu0.18.04.1~esm1 | < 2.1.0-3ubuntu0.20.04.1~esm1 | < 2.2.3.1-1ubuntu0.1~esm1","eol":null,"hubHref":null},{"vendor":"esapi","product":"esapi-java-legacy","name":"esapi-java-legacy","label":"esapi-java-legacy","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≤ 2.2.3.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"≤ 2.2.3.1","eol":null,"hubHref":"/vendor/esapi/esapi-java-legacy"},{"vendor":"org.owasp.esapi","product":"esapi","name":"org.owasp.esapi:esapi","label":"esapi","ecosystem":"Maven","cpePart":null,"purl":"pkg:maven/org.owasp.esapi/esapi","purlType":"maven","versions":[{"text":"< 2.3.0.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.3.0.0","eol":null,"hubHref":null},{"vendor":"netapp","product":"active_iq_unified_manager","name":"active iq unified manager","label":"active_iq_unified_manager","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"na","noFixRecorded":false,"fixedIn":null}],"versionsText":"na","eol":null,"hubHref":"/vendor/netapp/active_iq_unified_manager"},{"vendor":"netapp","product":"oncommand_workflow_automation","name":"oncommand workflow automation","label":"oncommand_workflow_automation","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"na","noFixRecorded":false,"fixedIn":null}],"versionsText":"na","eol":null,"hubHref":"/vendor/netapp/oncommand_workflow_automation"},{"vendor":"oracle","product":"weblogic_server","name":"WebLogic Server","label":"weblogic_server","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"12.2.1.3.0","noFixRecorded":false,"fixedIn":null},{"text":"12.2.1.4.0","noFixRecorded":false,"fixedIn":null},{"text":"14.1.1.0.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"12.2.1.3.0 | 12.2.1.4.0 | 14.1.1.0.0","eol":null,"hubHref":"/vendor/oracle/weblogic_server"},{"vendor":"owasp","product":"enterprise_security_api","name":"enterprise security api","label":"enterprise_security_api","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 2.3.0.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.3.0.0","eol":null,"hubHref":"/vendor/owasp/enterprise_security_api"}],"affectedCount":8,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/ESAPI/esapi-java-legacy/blob/develop/documentation/esapi4java-core-2.3.0.0-release-notes.txt","label":"github.com/ESAPI/…","hostname":"github.com","tags":["REPORT","WEB","Release Notes"]},{"url":"https://github.com/ESAPI/esapi-java-legacy/security/advisories/GHSA-q77q-vx4q-xx6q","label":"github.com/ESAPI/esapi-java-legacy/security/advisories/GHSA-q77q-vx4q-xx6q","hostname":"github.com","tags":["REPORT","WEB","Third Party Advisory"]},{"url":"https://github.com/ESAPI/esapi-java-legacy/blob/develop/documentation/ESAPI-security-bulletin8.pdf","label":"github.com/ESAPI/esapi-java-legacy/blob/develop/documentation/ESAPI-security-bulletin8.pdf","hostname":"github.com","tags":["REPORT","WEB","Exploit","Mitigation","Third Party Advisory"]},{"url":"https://www.oracle.com/security-alerts/cpujul2022.html","label":"www.oracle.com/security-alerts/cpujul2022.html","hostname":"www.oracle.com","tags":["WEB","Patch","Third Party Advisory"]},{"url":"https://security.netapp.com/advisory/ntap-20230127-0014/","label":"security.netapp.com/advisory/ntap-20230127-0014/","hostname":"security.netapp.com","tags":["Third Party Advisory"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/07/msg00010.html","label":"lists.debian.org/debian-lts-announce/2025/07/msg00010.html","hostname":"lists.debian.org","tags":["WEB"]},{"url":"https://ubuntu.com/security/CVE-2022-24891","label":"ubuntu.com/security/CVE-2022-24891","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-24891","label":"www.cve.org/CVERecord?id=CVE-2022-24891","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-8181-1","label":"ubuntu.com/security/notices/USN-8181-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2022-24891","label":"security-tracker.debian.org/tracker/CVE-2022-24891","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-24891","label":"nvd.nist.gov/vuln/detail/CVE-2022-24891","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/ESAPI/esapi-java-legacy","label":"github.com/ESAPI/esapi-java-legacy","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://security.netapp.com/advisory/ntap-20230127-0014","label":"security.netapp.com/advisory/ntap-20230127-0014","hostname":"security.netapp.com","tags":["WEB"]}],"lineage":{"upstream":[],"downstream":["DLA-4246-1"],"duplicates":[],"related":["USN-8181-1"]},"timeline":[{"kind":"published","date":"2022-04-27T00:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-11-03T19:26:55.130Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":35,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T00:20:58.900Z","stale":false,"partial":false}}