CVE-2024-39565
An Improper Neutralization of Data within XPath Expressions ('XPath Injection') vulnerability in J-Web shipped with Juniper Networks Junos OS allows an unauthenticated, network-based attacker to execute remote commands on the target device. While an administrator is logged into a J-Web session or has previously logged in and subsequently logged out of their J-Web session, the attacker can arbitrarily execute commands on the target device with the other user's credentials. In the worst case, the attacker will have full control over the device. This issue affects Junos OS: * All versions before 21.2R3-S8, * from 21.4 before 21.4R3-S7, * from 22.2 before 22.2R3-S4, * from 22.3 before 22.3R3-S3, * from 22.4 before 22.4R3-S2, * from 23.2 before 23.2R2, * from 23.4 before 23.4R1-S1, 23.4R2.
Scoring
- Severity
- HIGH
- CVSS base score
- 8.8
- CVSS vector
- CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/AU:Y/V:C/RE:M/U:Amber
- EPSS probability
- 0.52%
- CWE
- CWE-643
- Published
- 2024-07-10
- Last modified
- 2026-03-13
Affected products
- Juniper Networks, Inc. Junos OS
- Juniper Networks, Inc. Junos OS
- Juniper Networks, Inc. Junos OS
- Juniper Networks, Inc. Junos OS
- Juniper Networks, Inc. Junos OS
- Juniper Networks, Inc. Junos OS
- Juniper Networks, Inc. Junos OS
Weakness type
Related vulnerabilities
- CVE-2026-9390 — XML::Sig versions before 0.71 for Perl allow XPath injection in ID lookup
- CVE-2026-44962 — Plesk contains an XPath injection vulnerability in the APS Application Catalog search...
- CVE-2026-40699 — BIG-IP Configuration utility vulnerability
- CVE-2026-24343 — Apache HertzBeat: Uncontrolled Resource Consumption via Crafted XPath Expressions
- CVE-2025-11844 — XPath Injection in Hugging Face Smolagents search_item_ctrl_f Function
- CVE-2025-20218 — Cisco Secure Firepower Management Center Software XPATH Injection Vulnerability
- CVE-2022-43840 — IBM Aspera Console XPath injection
- CVE-2024-2648 — Netentsec NS-ASG Application Security Gateway naccheck.php xpath injection