CVE-2023-26119CWE-94code-injection

CVE-2023-26119

Critical · published April 3, 2023

CVSS v3.1
9.8
EPSS
3%
Percentile
84.7
In the wild
Unconfirmed
What it is

🚨 A crafty page trick can grant an attacker full control! With versions of htmlunit at 3.0.0 and below, a simple visit could lead to remote code execution. 🔥 Think of this as a restaurant where the waiter can sneakily swap the chef's special without anyone noticing — a user could be directed to an attacker’s page, and before they know it, their request is altered, and the attacker takes over the kitchen! This vulnerability allows an attacker to execute arbitrary code on your system just by luring users to their malicious webpage. Imagine a scenario where they could steal sensitive data, manipulate configurations, or even bring your entire application to its knees — absolutely devastating!

Put simply

Think of this as a restaurant where the waiter can sneakily swap the chef's special without anyone noticing — a user could be directed to an attacker’s page, and before they know it, their request is altered, and the attacker takes over the kitchen! The vulnerability arises from improper handling of XSLT in the htmlunit package, which allows a remote attacker to execute code when users browse to an attacker-controlled webpage.

What to do

This vulnerability allows an attacker to execute arbitrary code on your system just by luring users to their malicious webpage. Imagine a scenario where they could steal sensitive data, manipulate configurations, or even bring your entire application to its knees — absolutely devastating! Immediately upgrade to version 3.0.0 or higher of the htmlunit package to close this critical security gap. Regularly scan your dependencies for updates and vulnerabilities to keep your applications secure! You've got this! Follow those steps and you’ll have your defenses up in no time. 🛡️

The record
Technical detail
CVSS v3.1
9.8 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.02513 · 84.7th percentile
Weakness
CWE-94 · Improper Control of Generation of Code ('Code Injection')
Published
2023-04-03T09:15Z
Affected products (1)
ProductVersionsFixed in
htmlunit/htmlunit< 3.0.03.0.0
References (6)
EPSS history
Timeline
  • 03 APR 05:00Z
    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…
    cvelistv5