{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2020-5529","id":"CVE-2020-5529","title":"Code execution vulnerability in HtmlUnit","description":"HtmlUnit prior to 2.37.0 contains code execution vulnerabilities. HtmlUnit initializes Rhino engine improperly, hence a malicious JavScript code can execute arbitrary Java code on the application. Moreover, when embedded in Android application, Android-specific initialization of Rhino engine is done in an improper way, hence a malicious JavaScript code can execute arbitrary Java code on the applic","descriptionLong":"HtmlUnit prior to 2.37.0 contains code execution vulnerabilities. HtmlUnit initializes Rhino engine improperly, hence a malicious JavScript code can execute arbitrary Java code on the application. Moreover, when embedded in Android application, Android-specific initialization of Rhino engine is done in an improper way, hence a malicious JavaScript code can execute arbitrary Java code on the application.","published":"2020-02-11T08:35:12.000Z","updated":"2026-10-20T10:54:25.163727625Z","reserved":"2020-01-06T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"jpcert","metric":{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},"metrics":[{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"CISA-ADP"},{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"OSV"},{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"GitHub"},{"version":"2.0","score":6.8,"vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","rating":"medium","source":"NVD"}],"rating":"high","products":["HtmlUnit Project HtmlUnit"],"affectedProducts":[{"vendor":"HtmlUnit Project","product":"HtmlUnit","defaultStatus":null,"versions":[{"status":"affected","version":"prior to 2.37.0"}],"platforms":[]}],"packages":[{"ecosystem":"Maven","name":"net.sourceforge.htmlunit:htmlunit","purl":"pkg:maven/net.sourceforge.htmlunit/htmlunit","ranges":["<2.37.0"],"fixed":["2.37.0"],"advisory":"GHSA-5mh9-r3rr-9597"}],"cwes":["CWE-94","CWE-665"],"aliases":["GHSA-5mh9-r3rr-9597"],"references":[{"url":"https://github.com/HtmlUnit/htmlunit/releases/tag/2.37.0","tags":["x_refsource_CONFIRM","x_transferred","Release Notes","Third Party Advisory","advisory","web"]},{"url":"https://jvn.jp/en/jp/JVN34535327/","tags":["third-party-advisory","x_refsource_JVN","x_transferred","Third Party Advisory","advisory"]},{"url":"https://lists.apache.org/thread.html/ra2cd7f8e61dc6b8a2d9065094cd1f46aa63ad10f237ee363e26e8563%40%3Ccommits.camel.apache.org%3E","tags":["mailing-list","x_refsource_MLIST","x_transferred","web"]},{"url":"https://lists.debian.org/debian-lts-announce/2020/08/msg00023.html","tags":["mailing-list","x_refsource_MLIST","x_transferred","Mailing List","Third Party Advisory","advisory","web"]},{"url":"https://usn.ubuntu.com/4584-1/","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred","Third Party Advisory","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-5529","tags":["advisory"]},{"url":"https://github.com/HtmlUnit/htmlunit/commit/bc1f58d483cc8854a9c4c1739abd5e04a2eb0367","tags":["web"]},{"url":"https://github.com/HtmlUnit/htmlunit","tags":["package"]},{"url":"https://jvn.jp/en/jp/JVN34535327","tags":["web"]},{"url":"https://lists.apache.org/thread.html/ra2cd7f8e61dc6b8a2d9065094cd1f46aa63ad10f237ee363e26e8563@%3Ccommits.camel.apache.org%3E","tags":["web"]},{"url":"https://usn.ubuntu.com/4584-1","tags":["web"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total"},"epss":0.04719,"epssPercentile":0.92009,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2020-5529","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-5529","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2020-5529","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-5mh9-r3rr-9597","ok":true,"note":"GHSA-5mh9-r3rr-9597"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2020-5529","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}