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

- Severity: High 7.7 (CVSS:4.0, scored by juniper) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.52%, higher than 45% of CVEs (2026-12-01)
- Published: 2024-07-10T22:55:27.516Z
- Modified: 2026-06-17T07:42:14.743Z
- Weaknesses: CWE-643
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: juniper

## Description

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.

(As written by CVE List.)

## Affected

- Juniper Networks, Inc. Junos OS: 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
- juniper junos_os: before 21.2r3-s8; from 23.4 before 23.4r1-s1; from 23.4 before 23.4r2; 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
- juniper j-web: no versions given
- juniper junos: before 21.2; 21.2; 21.4; 22.2; 22.3

## Every score

- juniper: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- juniper: CVSS:4.0 7.7 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/AU:Y/V:C/RE:M/U:Amber`

## References

- <https://supportportal.juniper.net/JSA83023> (vendor-advisory)
- <https://www.first.org/cvss/calculator/v4-0#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:P/AU:Y/R:I/V:C/RE:L/U:Amber> (related, vendor-advisory)
- <https://support.juniper.net/support/downloads/?p=283> (patch, product, signature)

## Sources

- CVE List: [CVE-2024-39565](https://www.cve.org/CVERecord?id=CVE-2024-39565), CVE Terms of Use, modified 2024-08-02
- NVD: [CVE-2024-39565](https://nvd.nist.gov/vuln/detail/CVE-2024-39565), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-39565 · Whole record: https://cve.day/CVE-2024-39565.json · Rebuilt by cve.day 2026-11-25T22:58:42.770Z
