CVE-2024-39565
HIGHDescription
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.
How to fix
TridentStack Control can deploy fixes like this automatically across your Windows, macOS, and Linux fleet. See how it works
Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.
CVSS v3 Vector
Exploitability
Impact
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Exploit Intelligence
Moderate risk: more likely to be exploited than 41% of all known CVEs.
References
Related Vulnerabilities
Other CWE-643 vulnerabilities, ordered by exploit likelihood. View all
| CVE | Severity | CVSS | EPSS | Exploited | Fix |
|---|---|---|---|---|---|
| CVE-2023-36429 | Medium | 6.5 | 2.0% | - | Fix |
| CVE-2023-36433 | Medium | 6.5 | 1.9% | - | Fix |
| CVE-2020-25162 | High | 7.5 | 1.8% | - | - |
| CVE-2023-24922 | Medium | 6.5 | 1.5% | - | Fix |
| CVE-2024-2648 | Medium | 4.3 | 0.7% | - | - |
| CVE-2024-2645 | Medium | 4.3 | 0.7% | - | - |
Common questions
How do I fix CVE-2024-39565?
Upgrade junos to 21.2 or later.
Is CVE-2024-39565 being actively exploited?
Not that we know of. CVE-2024-39565 is not in the CISA Known Exploited Vulnerabilities catalog. Its EPSS score of 0.52% is the estimated probability that it will be exploited in the next 30 days. That is higher than 41% of all scored CVEs.
How severe is CVE-2024-39565?
CVE-2024-39565 has a CVSS v3 base score of 8.8, rated high. CVSS rates the technical impact if the vulnerability is exploited, not how likely that is, so weigh it alongside the exploit-prediction score when you decide what to patch first.
What does CVE-2024-39565 affect?
Published advisories record a fix for junos (NVD). Only products with a sourced advisory are listed, so treat this as what we can cite rather than a complete inventory.
Embed a live status badge for CVE-2024-39565
Markdown
[](https://tridentstack.com/cve/CVE-2024-39565)HTML
<a href="https://tridentstack.com/cve/CVE-2024-39565"><img src="https://tridentstack.com/cve/badge/CVE-2024-39565.svg" alt="CVE-2024-39565"></a>Find and fix vulnerabilities across your fleet
TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.
This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2026-01-22.