Description
Versions of the package net.sourceforge.htmlunit:htmlunit from 0 and before 3.0.0 are vulnerable to Remote Code Execution (RCE) via XSTL, when browsing the attacker’s webpage.
Remediation
References
https://github.com/HtmlUnit/htmlunit/commit/641325bbc84702dc9800ec7037aec061ce21956b
https://security.snyk.io/vuln/SNYK-JAVA-NETSOURCEFORGEHTMLUNIT-3252500
https://siebene.github.io/2022/12/30/HtmlUnit-RCE/
Related Vulnerabilities
CVE-2022-31139 Vulnerability in maven package io.github.karlatemp:unsafe-accessor
CVE-2018-3722 Vulnerability in maven package org.webjars.npm:merge-deep
CVE-2018-3721 Vulnerability in npm package lodash
CVE-2020-12668 Vulnerability in maven package com.hubspot.jinjava:jinjava
CVE-2022-31129 Vulnerability in maven package org.webjars:momentjs