{"id":"UBUNTU-CVE-2020-5529","details":"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.","modified":"2026-04-29T09:47:46.248164Z","published":"2020-02-11T12:15:00Z","related":["USN-4584-1"],"upstream":["CVE-2020-5529"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2020-5529"},{"type":"REPORT","url":"https://github.com/HtmlUnit/htmlunit/commit/934390fefcd2cd58e6d86f2bc19d811ae17bfa28"},{"type":"REPORT","url":"https://github.com/HtmlUnit/htmlunit/releases/tag/2.37.0"},{"type":"REPORT","url":"https://jvn.jp/en/jp/JVN34535327/"},{"type":"REPORT","url":"https://lists.apache.org/thread.html/ra2cd7f8e61dc6b8a2d9065094cd1f46aa63ad10f237ee363e26e8563@%3Ccommits.camel.apache.org%3E"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-4584-1"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2020-5529"}],"affected":[{"package":{"name":"htmlunit","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/htmlunit@2.8-1ubuntu2.1?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.8-1ubuntu2.1"}]}],"versions":["2.8-1ubuntu2"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"libhtmlunit-java","binary_version":"2.8-1ubuntu2.1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-5529.json"}},{"package":{"name":"htmlunit","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/htmlunit@2.8-3ubuntu1+esm1?arch=source&distro=esm-apps/bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.8-2ubuntu1","2.8-3ubuntu1","2.8-3ubuntu1+esm1"],"ecosystem_specific":{"binaries":[{"binary_name":"libhtmlunit-java","binary_version":"2.8-3ubuntu1+esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-5529.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}