Lucene search

K
osvGoogleOSV:GHSA-WRX5-RP7M-MM49
HistoryOct 06, 2022 - 6:52 p.m.

JXPath vulnerable to remote code execution when interpreting untrusted XPath expressions

2022-10-0618:52:05
Google
osv.dev
35
jxpath
vulnerability
remote code execution
xpath
expressions
java classpath

Those using JXPath to interpret untrusted XPath expressions may be vulnerable to a remote code execution attack. All JXPathContext class functions processing a XPath string are vulnerable except compile() and compilePath() function. The XPath expression can be used by an attacker to load any Java class from the classpath resulting in code execution.