CVE-2023-36845 is a PHP external variable modification flaw in J-Web on Juniper EX Series switches and SRX Series firewalls: an unauthenticated attacker who sets the PHPRC variable can run code on the device. Juniper scores it 9.8, NVD has no Primary score, and CISA KEV lists it as exploited. Upgrade Junos OS, or disable J-Web or restrict it to trusted hosts.
Vulnerability summary
CVSS base score
9.8
Critical severity
EPSS score (FIRST)
98.7%
Probability of exploitation in the wild in the next 30 days
CISA KEV catalog
Yes
Listed as known exploited
Published
Vulnerability ID: CVE-2023-36845 · Source: NVD (Juniper CNA Secondary score only, not NVD Primary)
Affected components
| Component | CPE | Version range |
|---|---|---|
| Juniper Networks Junos OS on EX Series switches (J-Web) | cpe:2.3:o:juniper:junos:*:*:*:*:*:*:*:* | All versions before 20.4R3-S9; 21.1R1 and later; 21.2 before 21.2R3-S7; 21.3 before 21.3R3-S5; 21.4 before 21.4R3-S5; 22.1 before 22.1R3-S4; 22.2 before 22.2R3-S2; 22.3 before 22.3R2-S2, 22.3R3-S1; 22.4 before 22.4R2-S1, 22.4R3; 23.2 before 23.2R1-S1, 23.2R2 (Juniper) |
| Juniper Networks Junos OS on SRX Series firewalls (J-Web) | cpe:2.3:o:juniper:junos:*:*:*:*:*:*:*:* | Same ranges as EX Series (Juniper) |
What does this mean for affected devices?
Juniper's CVE record describes "a PHP External Variable Modification vulnerability in J-Web of Juniper Networks Junos OS on EX Series and SRX Series" that "allows an unauthenticated, network-based attacker to remotely execute code". A crafted request "which sets the variable PHPRC" changes the PHP execution environment and allows code to be injected and run. Juniper, the CNA, scores it CVSS v3.1 9.8 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H) with CWE-473. As of 2026-11-25 NVD has analyzed the record and added CPE configurations for Junos OS on EX and SRX hardware, but shows no NVD Primary CVSS score. The CISA KEV listing is the reason to act (NVD, CVE record).
Which devices and releases are affected?
Junos OS on EX Series switches and SRX Series firewalls is affected: all versions before 20.4R3-S9, every 21.1 release, and the 21.2 to 23.2 trains before the fixed releases below. NVD's CPE configuration lists the SRX100 through SRX5800 and EX2200 through EX9253 platforms. This is the most severe of the four flaws in Juniper's out-of-cycle bulletin JSA72300 of 2023-08-17. Its EX-only twin is CVE-2023-36844. The unauthenticated uploads CVE-2023-36846 (SRX) and CVE-2023-36847 (EX) complete the chain.
Which Junos OS release fixes it?
Juniper's CVE record lists these fixed releases: 20.4R3-S9, 21.2R3-S7, 21.3R3-S5, 21.4R3-S5, 22.1R3-S4, 22.2R3-S2, 22.3R2-S2, 22.3R3-S1, 22.4R2-S1, 22.4R3, 23.2R1-S1, 23.2R2 and 23.4R1, and all later releases. The 21.1 train has no fixed release in the list, so devices on 21.1 must move to a fixed train. The flaw needs J-Web, enabled by [system services web-management http] or [system services web-management https]. As a workaround Juniper says: "Disable J-Web, or limit access to only trusted hosts." CISA BOD 23-02 and internet-exposed management interfaces explains how to take J-Web off the internet and keep it on a management network.
Is CVE-2023-36845 exploited?
Yes. CISA added it to the KEV catalog on 2023-11-13 with the required action "Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable." (due 2023-11-17; known ransomware campaign use: Unknown). It is still listed as of 2026-11-25 in catalog version 2026.11.24 (CISA KEV). Juniper's record, written at publication, said Juniper SIRT was unaware of malicious exploitation at that time. NVD references public exploit write-ups on Packet Storm. FIRST EPSS gives 0.98672, the 99.92nd percentile, in the 2026-11-24 dataset, one of the highest values in the set (FIRST EPSS). KEV and EPSS vulnerability prioritization explains why this belongs at the top of a patch queue.
Evidence
- NVD: Analyzed; PHP External Variable Modification in J-Web of Junos OS on EX Series and SRX Series, unauthenticated network attacker can remotely execute code by setting PHPRC; affected all versions prior to 20.4R3-S9, 21.1R1 and later, 21.2 before 21.2R3-S7, 21.3 before 21.3R3-S5, 21.4 before 21.4R3-S5, 22.1 before 22.1R3-S4, 22.2 before 22.2R3-S2, 22.3 before 22.3R2-S2/22.3R3-S1, 22.4 before 22.4R2-S1/22.4R3, 23.2 before 23.2R1-S1/23.2R2; only metric Juniper ([email protected]) Secondary CVSS v3.1 9.8 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H; no NVD Primary score; CWE-473 (Juniper), NVD-CWE-Other (NVD); CPE junos on SRX100-SRX5800 and EX platforms; Packet Storm exploit module references; published 2023-08-17; read 2026-11-25. — NVD
- CVE record (CNA Juniper, advisory JSA72300): fixed releases 20.4R3-S9, 21.2R3-S7, 21.3R3-S5, 21.4R3-S5, 22.1R3-S4, 22.2R3-S2, 22.3R2-S2, 22.3R3-S1, 22.4R2-S1, 22.4R3, 23.2R1-S1, 23.2R2 and 23.4R1 and all subsequent releases; workaround 'Disable J-Web, or limit access to only trusted hosts.'; minimal configuration [system services web-management http] or [system services web-management https]; exploitation statement at publication: 'Juniper SIRT is not aware of any malicious exploitation of this vulnerability.' — CVE.org (Juniper CNA record)
- Juniper 2023-08 Out-of-Cycle Security Bulletin JSA72300, 'Junos OS: SRX Series and EX Series: Multiple vulnerabilities in J-Web can be combined to allow a preAuth Remote Code Execution', named in the CVE record and the KEV entry (the portal page is script-rendered; the bulletin's fix and workaround text is carried in Juniper's CVE record). — Juniper Networks
- KEV catalog 2026.11.24: Juniper Junos OS EX Series and SRX Series PHP External Variable Modification, dateAdded 2023-11-13, due 2023-11-17, required action 'Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.', knownRansomwareCampaignUse Unknown, CWE-473; checked 2026-11-25. — CISA KEV
- EPSS 0.98672, percentile 0.99923, dataset 2026-11-24, read 2026-11-25. — FIRST EPSS

Related advisories
Sources
Frequently asked questions
Which Juniper devices are affected by CVE-2023-36845?
EX Series switches and SRX Series firewalls running Junos OS with J-Web enabled: all versions before 20.4R3-S9, all of 21.1, and 21.2 to 23.2 before the fixed maintenance releases (per Juniper's CVE record and NVD).
How do I fix CVE-2023-36845?
Upgrade to 20.4R3-S9, 21.2R3-S7, 21.3R3-S5, 21.4R3-S5, 22.1R3-S4, 22.2R3-S2, 22.3R2-S2, 22.3R3-S1, 22.4R2-S1, 22.4R3, 23.2R1-S1, 23.2R2 and 23.4R1 or later. As a workaround, disable J-Web or limit access to trusted hosts only (per Juniper's CVE record and bulletin JSA72300).
Why does NVD show no score for CVE-2023-36845?
As of 2026-11-25 NVD shows only Juniper's CNA score, CVSS v3.1 9.8, and no NVD Primary score, although it has added CPE data. The page qualifies through the CISA KEV listing of 2023-11-13. EPSS was 0.98672 (99.92nd percentile) in the 2026-11-24 dataset (per NVD, CISA KEV and FIRST EPSS).
Is CVE-2023-36845 exploited in the wild?
Yes. CISA added it to KEV on 2023-11-13 together with the other three JSA72300 J-Web flaws, with a due date of 2023-11-17; ransomware use is Unknown. It is still listed as of 2026-11-25 in catalog version 2026.11.24 (per CISA KEV).
Questions about this page?