CVE Database›Document archive›CVE-2022-41852

CVE-2022-41852

JXPath: untrusted XPath expressions may lead to RCE attack

Loading…

Severity

Important

Red Hat Product Security

9.8

CVSS 3.1

Review impact separately from score.

Published · October 6, 2022

Updated · November 21, 2025

Description

A flaw was found in the Apache Commons JXPath package. This flaw allows an attacker to use the interpreter to execute untrusted expressions and a remote code attack.

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Mitigation

No mitigation is specified in collected source.

CVSS / CWE

CVSS 3.1 · 9.8
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

CWE-470 · Use of Externally-Controlled Input to Select Classes or Code ('Unsafe Reflection')