CVE-2024-39565 | Junos OS: J-Web: An unauthenticated, network-based attacker can perform XPATH injection attack against a device.

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.

Published: 2024-07-10 Last update: 2026-06-17 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2024-39565 is rated Moderate Risk (43.9/100): CVSS High severity, with low exploitation likelihood (EPSS 0.49%). Mandatory action: Review affected assets and schedule remediation.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Exploit prediction scoring system (EPSS) score for CVE-2024-39565

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-06-15 0.64% 0.49% -0.15%
2 2026-01-23 0.17% 0.64% +0.47%
3 2025-11-21 0.17%

Full EPSS history (15 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2024-39565

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
7.7 4.0 HIGH
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:Y/R:X/V:C/RE:M/U:Amber Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network.
Attack complexity (AC:H)
Exploitation depends on constrained or hard-to-reproduce conditions.
Attack requirements (AT:P)
Additional preconditions must be present for exploitation.
Privileges required (PR:N)
No privileges are required.
User interaction (UI:P)
A user has to participate (for example click/open/approve).
Vulnerable system confidentiality impact (VC:H)
High confidentiality impact on the vulnerable system.
Vulnerable system integrity impact (VI:H)
High integrity impact on the vulnerable system.
Vulnerable system availability impact (VA:H)
High availability impact on the vulnerable system.
Subsequent system confidentiality impact (SC:N)
No confidentiality impact on subsequent systems.
Subsequent system integrity impact (SI:N)
No integrity impact on subsequent systems.
Subsequent system availability impact (SA:N)
No availability impact on subsequent systems.
Exploit maturity (threat) (E:X)
Not defined: no reliable threat intelligence; scoring assumes the worst case (equivalent to Attacked).
Confidentiality requirement (CR:X)
Not defined: insufficient information; scoring treats this like High (worst case).
Integrity requirement (IR:X)
Not defined: insufficient information; scoring treats this like High (worst case).
Availability requirement (AR:X)
Not defined: insufficient information; scoring treats this like High (worst case).
Modified attack vector (MAV:X)
Not defined: scoring uses the Base Attack Vector (AV).
Modified attack complexity (MAC:X)
Not defined: scoring uses the Base Attack Complexity (AC).
Modified attack requirements (MAT:X)
Not defined: scoring uses the Base Attack Requirements (AT).
Modified privileges required (MPR:X)
Not defined: scoring uses the Base Privileges Required (PR).
Modified user interaction (MUI:X)
Not defined: scoring uses the Base User Interaction (UI).
Modified vulnerable system confidentiality impact (MVC:X)
Not defined: scoring uses the Base VC metric.
Modified vulnerable system integrity impact (MVI:X)
Not defined: scoring uses the Base VI metric.
Modified vulnerable system availability impact (MVA:X)
Not defined: scoring uses the Base VA metric.
Modified subsequent system confidentiality impact (MSC:X)
Not defined: scoring uses the Base SC metric.
Modified subsequent system integrity impact (MSI:X)
Not defined: scoring uses the Base SI metric.
Modified subsequent system availability impact (MSA:X)
Not defined: scoring uses the Base SA metric.
Safety (supplemental) (S:X)
Not evaluated.
Automatable (supplemental) (AU:Y)
Yes: all four kill-chain steps (reconnaissance, weaponization, delivery, exploitation) can be automated.
Recovery (supplemental) (R:X)
Not evaluated.
Value density (supplemental) (V:C)
Concentrated: a single exploit event controls rich resources (e.g., a central server).
Vulnerability response effort (supplemental) (RE:M)
Moderate effort (remote update, disable subsystem, simple upgrade with minor service impact).
Provider urgency (supplemental) (U:AMBER)
Amber: provider rates moderate urgency.
[email protected]
8.8 3.1 HIGH
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:N)
No account or special rights needed—anonymous or random user is enough.
User interaction (UI:R)
A real person has to do something—click, install, enable—otherwise it doesn’t land.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:H)
Serious risk that confidential data gets exposed in a big way.
Integrity (I:H)
They could widely tamper with or forge data—trust in the data is badly hurt.
Availability (A:H)
Could take the service down hard or make it unusable for people who depend on it.
2.8 5.9 [email protected]

Weakness enumeration for CVE-2024-39565

Affected software / configurations for CVE-2024-39565

Vendor Product Version Raw CPE
juniper j-web cpe:2.3:a:juniper:j-web:-:*:*:*:*:*:*:*
juniper junos < 21.2 cpe:2.3:o:juniper:junos:*:*:*:*:*:*:*:*
juniper junos 21.2 cpe:2.3:o:juniper:junos:21.2:-:*:*:*:*:*:*
juniper junos 21.2 cpe:2.3:o:juniper:junos:21.2:r1:*:*:*:*:*:*
juniper junos 21.2 cpe:2.3:o:juniper:junos:21.2:r1-s1:*:*:*:*:*:*
juniper junos 21.2 cpe:2.3:o:juniper:junos:21.2:r1-s2:*:*:*:*:*:*
juniper junos 21.2 cpe:2.3:o:juniper:junos:21.2:r2:*:*:*:*:*:*
juniper junos 21.2 cpe:2.3:o:juniper:junos:21.2:r2-s1:*:*:*:*:*:*
juniper junos 21.2 cpe:2.3:o:juniper:junos:21.2:r2-s2:*:*:*:*:*:*
juniper junos 21.2 cpe:2.3:o:juniper:junos:21.2:r3:*:*:*:*:*:*
juniper junos 21.2 cpe:2.3:o:juniper:junos:21.2:r3-s1:*:*:*:*:*:*
juniper junos 21.2 cpe:2.3:o:juniper:junos:21.2:r3-s2:*:*:*:*:*:*
juniper junos 21.2 cpe:2.3:o:juniper:junos:21.2:r3-s3:*:*:*:*:*:*
juniper junos 21.2 cpe:2.3:o:juniper:junos:21.2:r3-s4:*:*:*:*:*:*
juniper junos 21.2 cpe:2.3:o:juniper:junos:21.2:r3-s5:*:*:*:*:*:*
juniper junos 21.2 cpe:2.3:o:juniper:junos:21.2:r3-s6:*:*:*:*:*:*
juniper junos 21.2 cpe:2.3:o:juniper:junos:21.2:r3-s7:*:*:*:*:*:*
juniper junos 21.4 cpe:2.3:o:juniper:junos:21.4:-:*:*:*:*:*:*
juniper junos 21.4 cpe:2.3:o:juniper:junos:21.4:r1:*:*:*:*:*:*
juniper junos 21.4 cpe:2.3:o:juniper:junos:21.4:r1-s1:*:*:*:*:*:*
juniper junos 21.4 cpe:2.3:o:juniper:junos:21.4:r1-s2:*:*:*:*:*:*
juniper junos 21.4 cpe:2.3:o:juniper:junos:21.4:r2:*:*:*:*:*:*
juniper junos 21.4 cpe:2.3:o:juniper:junos:21.4:r2-s1:*:*:*:*:*:*
juniper junos 21.4 cpe:2.3:o:juniper:junos:21.4:r2-s2:*:*:*:*:*:*
juniper junos 21.4 cpe:2.3:o:juniper:junos:21.4:r3:*:*:*:*:*:*
juniper junos 21.4 cpe:2.3:o:juniper:junos:21.4:r3-s1:*:*:*:*:*:*
juniper junos 21.4 cpe:2.3:o:juniper:junos:21.4:r3-s2:*:*:*:*:*:*
juniper junos 21.4 cpe:2.3:o:juniper:junos:21.4:r3-s3:*:*:*:*:*:*
juniper junos 21.4 cpe:2.3:o:juniper:junos:21.4:r3-s4:*:*:*:*:*:*
juniper junos 21.4 cpe:2.3:o:juniper:junos:21.4:r3-s5:*:*:*:*:*:*
juniper junos 21.4 cpe:2.3:o:juniper:junos:21.4:r3-s6:*:*:*:*:*:*
juniper junos 22.2 cpe:2.3:o:juniper:junos:22.2:-:*:*:*:*:*:*
juniper junos 22.2 cpe:2.3:o:juniper:junos:22.2:r1:*:*:*:*:*:*
juniper junos 22.2 cpe:2.3:o:juniper:junos:22.2:r1-s1:*:*:*:*:*:*
juniper junos 22.2 cpe:2.3:o:juniper:junos:22.2:r1-s2:*:*:*:*:*:*
juniper junos 22.2 cpe:2.3:o:juniper:junos:22.2:r2:*:*:*:*:*:*
juniper junos 22.2 cpe:2.3:o:juniper:junos:22.2:r2-s1:*:*:*:*:*:*
juniper junos 22.2 cpe:2.3:o:juniper:junos:22.2:r2-s2:*:*:*:*:*:*
juniper junos 22.2 cpe:2.3:o:juniper:junos:22.2:r3:*:*:*:*:*:*
juniper junos 22.2 cpe:2.3:o:juniper:junos:22.2:r3-s1:*:*:*:*:*:*
juniper junos 22.2 cpe:2.3:o:juniper:junos:22.2:r3-s2:*:*:*:*:*:*
juniper junos 22.2 cpe:2.3:o:juniper:junos:22.2:r3-s3:*:*:*:*:*:*
juniper junos 22.3 cpe:2.3:o:juniper:junos:22.3:-:*:*:*:*:*:*
juniper junos 22.3 cpe:2.3:o:juniper:junos:22.3:r1:*:*:*:*:*:*
juniper junos 22.3 cpe:2.3:o:juniper:junos:22.3:r1-s1:*:*:*:*:*:*
juniper junos 22.3 cpe:2.3:o:juniper:junos:22.3:r1-s2:*:*:*:*:*:*
juniper junos 22.3 cpe:2.3:o:juniper:junos:22.3:r2:*:*:*:*:*:*
juniper junos 22.3 cpe:2.3:o:juniper:junos:22.3:r2-s1:*:*:*:*:*:*
juniper junos 22.3 cpe:2.3:o:juniper:junos:22.3:r2-s2:*:*:*:*:*:*
juniper junos 22.3 cpe:2.3:o:juniper:junos:22.3:r3:*:*:*:*:*:*
juniper junos 22.3 cpe:2.3:o:juniper:junos:22.3:r3-s1:*:*:*:*:*:*
juniper junos 22.3 cpe:2.3:o:juniper:junos:22.3:r3-s2:*:*:*:*:*:*
juniper junos 22.4 cpe:2.3:o:juniper:junos:22.4:-:*:*:*:*:*:*
juniper junos 22.4 cpe:2.3:o:juniper:junos:22.4:r1:*:*:*:*:*:*
juniper junos 22.4 cpe:2.3:o:juniper:junos:22.4:r1-s1:*:*:*:*:*:*
juniper junos 22.4 cpe:2.3:o:juniper:junos:22.4:r1-s2:*:*:*:*:*:*
juniper junos 22.4 cpe:2.3:o:juniper:junos:22.4:r2:*:*:*:*:*:*
juniper junos 22.4 cpe:2.3:o:juniper:junos:22.4:r2-s1:*:*:*:*:*:*
juniper junos 22.4 cpe:2.3:o:juniper:junos:22.4:r2-s2:*:*:*:*:*:*
juniper junos 22.4 cpe:2.3:o:juniper:junos:22.4:r3:*:*:*:*:*:*
juniper junos 22.4 cpe:2.3:o:juniper:junos:22.4:r3-s1:*:*:*:*:*:*
juniper junos 23.2 cpe:2.3:o:juniper:junos:23.2:-:*:*:*:*:*:*
juniper junos 23.2 cpe:2.3:o:juniper:junos:23.2:r1:*:*:*:*:*:*
juniper junos 23.2 cpe:2.3:o:juniper:junos:23.2:r1-s1:*:*:*:*:*:*
juniper junos 23.2 cpe:2.3:o:juniper:junos:23.2:r1-s2:*:*:*:*:*:*
juniper junos 23.4 cpe:2.3:o:juniper:junos:23.4:-:*:*:*:*:*:*
juniper junos 23.4 cpe:2.3:o:juniper:junos:23.4:r1:*:*:*:*:*:*
juniper junos 23.4 cpe:2.3:o:juniper:junos:23.4:r2:*:*:*:*:*:*

References for CVE-2024-39565

cvelogic Threat Intelligence