CVE-2023-36844 is a PHP external variable modification flaw in J-Web, the web management interface of Junos OS on Juniper EX Series switches. An unauthenticated attacker can change certain PHP environment variables, and chained with the other JSA72300 J-Web flaws this leads to remote code execution. NVD scores it 5.3. CISA KEV lists it. Upgrade Junos OS or disable J-Web.
Vulnerability summary
CVSS base score
5.3
Medium severity
EPSS score (FIRST)
90.0%
Probability of exploitation in the wild in the next 30 days
CISA KEV catalog
Yes
Listed as known exploited
Published
Vulnerability ID: CVE-2023-36844 · Source: NVD
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.3R3-S1; 22.4 before 22.4R2-S2, 22.4R3; 23.2 before 23.2R1-S1, 23.2R2 (Juniper) |
What does this mean for affected devices?
NVD and Juniper's CVE record describe "a PHP External Variable Modification vulnerability in J-Web of Juniper Networks Junos OS on EX Series" that "allows an unauthenticated, network-based attacker to control certain, important environment variables", leading to partial loss of integrity "which may allow chaining to other vulnerabilities". NVD's own Primary CVSS v3.1 score is 5.3 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N), the same as Juniper's. Juniper assigns CWE-473; NVD records NVD-CWE-Other. NVD's CPE configuration matches Junos OS releases running on EX2200 through EX9253 switches (NVD, CVE record).
Why does a 5.3 score sit on KEV?
Juniper published CVE-2023-36844 on 2023-08-17 together with three siblings in out-of-cycle bulletin JSA72300, titled "Multiple vulnerabilities in J-Web can be combined to allow a preAuth Remote Code Execution". This flaw is the EX Series twin of CVE-2023-36845, the PHPRC variant that Juniper scores 9.8 for EX and SRX. The unauthenticated file upload on EX switches, CVE-2023-36847, is in the same bulletin. Each piece scores low on its own, but Juniper says they combine into code execution without a login.
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.3R3-S1, 22.4R2-S2, 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-36844 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. CISA listed it as exploited three months later. FIRST EPSS gives 0.89958, the 99.79th percentile, in the 2026-11-24 dataset (FIRST EPSS). Another Junos flaw on EX hardware is the EX4650 management-port issue CVE-2022-22186.
Evidence
- NVD: Analyzed; PHP External Variable Modification in J-Web of Junos OS on EX Series, unauthenticated network attacker controls certain important environment variables, partial loss of integrity, may allow chaining; 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.3R3-S1, 22.4 before 22.4R2-S2/22.4R3, 23.2 before 23.2R1-S1/23.2R2; NVD Primary CVSS v3.1 5.3 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N; Juniper Secondary 5.3; CWE-473 (Juniper), NVD-CWE-Other (NVD); CPE junos on EX2200-EX9253; 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.3R3-S1, 22.4R2-S2, 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.'; CISA-ADP SSVC exploitation active. — 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 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.89958, percentile 0.99793, dataset 2026-11-24, read 2026-11-25. — FIRST EPSS

Related advisories
Sources
Frequently asked questions
Which Juniper devices are affected by CVE-2023-36844?
Juniper EX Series switches 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 listed by Juniper. SRX firewalls are covered by the sibling CVE-2023-36845 (per Juniper's CVE record and NVD).
How do I fix CVE-2023-36844?
Upgrade to 20.4R3-S9, 21.2R3-S7, 21.3R3-S5, 21.4R3-S5, 22.1R3-S4, 22.2R3-S2, 22.3R3-S1, 22.4R2-S2, 22.4R3, 23.2R1-S1, 23.2R2 and 23.4R1 or later. If you cannot upgrade, disable J-Web or limit access to trusted hosts only (per Juniper's CVE record and bulletin JSA72300).
Why is a CVSS 5.3 flaw on the CISA KEV list?
On its own it only changes PHP environment variables. Chained with the other J-Web flaws in JSA72300 it gives unauthenticated remote code execution, and CISA added it to KEV on 2023-11-13. EPSS was 0.89958 (99.79th percentile) in the 2026-11-24 dataset (per Juniper, CISA KEV and FIRST EPSS).
How is CVE-2023-36844 different from CVE-2023-36845?
Both are PHP external variable modification flaws in J-Web. CVE-2023-36844 affects EX Series only and lets an attacker control certain environment variables (CVSS 5.3). CVE-2023-36845 affects EX and SRX Series, works through the PHPRC variable and leads directly to code execution (Juniper CVSS 9.8) (per Juniper's CVE records).
Questions about this page?