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.
{ "nvd_published_at": "2020-02-11T12:15:00Z", "cwe_ids": [ "CWE-665", "CWE-94" ], "severity": "HIGH", "github_reviewed": true, "github_reviewed_at": "2020-05-21T17:25:38Z" }