CVE-2022-22242: Junos OS: Cross-site Scripting (XSS) vulnerability in J-Web
CVE-2022-22242 affects 73 listed versions of Juniper Junos OS in the Dawnsentry catalogue.
Affected products and versions
The versions in the Dawnsentry catalogue this CVE affects, judged from the vendor's own advisory where there is one, otherwise from the CVE record and NVD, as each version's own page says.
Juniper Junos OS
73 of 250 listed versions are affected. Fixed in 22.1R2, 21.3R3, 21.2R3-S1, 21.1R3-S4, 20.4R3-S4, 20.3R3-S5, 20.2R3-S5, 20.1R3-S5. The newest release, 26.2R1-S2, is not affected.
22.1R1-S2 22.1R1-S1 22.1R1 22.1 21.3R2-S2 21.3R2-S1 21.3R2 21.3R1-S2 21.3R1-S1 21.3R1 21.3 21.2R3 21.2R2-S2 21.2R2-S1 21.2R2 21.2R1-S2 21.1R3-S3 21.1R3-S2 21.1R3-S1 21.1R3 21.1R2-S2 21.1R2-S1 21.1R2 21.1R1-S1 21.1R1 21.1 20.4R3-S3 20.4R3-S2 20.4R3-S1 20.4R3 20.4R2-S2 20.4R2-S1 20.4R2 20.4R1-S1 20.3R3-S4 20.3R3-S3 20.3R3-S2 20.3R3-S1 20.3R3 20.3R2-S1 20.3R2 20.3R1-S2 20.3R1-S1 20.3R1 20.3 20.2R3-S4 20.2R3-S3 20.2R3-S2 20.2R3-S1 20.2R3 20.2R2-S3 20.2R2-S2 20.2R2-S1 20.2R2 20.2R1-S3 20.2R1-S2 20.1R3-S4 20.1R3-S3 20.1R3-S2 20.1R3-S1 and 13 more
What it is
A Cross-site Scripting (XSS) vulnerability in the J-Web component of Juniper Networks Junos OS allows an unauthenticated attacker to run malicious scripts reflected off of J-Web to the victim's browser in the context of their session within J-Web. This issue affects Juniper Networks Junos OS all versions prior to 19.1R3-S9; 19.2 versions prior to 19.2R3-S6; 19.3 versions prior to 19.3R3-S7; 19.4 versions prior to 19.4R2-S7, 19.4R3-S8; 20.1 versions prior to 20.1R3-S5; 20.2 versions prior to 20.2R3-S5; 20.3 versions prior to 20.3R3-S5; 20.4 versions prior to 20.4R3-S4; 21.1 versions prior to 21.1R3-S4; 21.2 versions prior to 21.2R3-S1; 21.3 versions prior to 21.3R3; 21.4 versions prior to 21.4R2; 22.1 versions prior to 22.1R2.
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N (Juniper Networks)
Published by Juniper Networks on 18 October 2022. Last changed 17 June 2026. Exploit code is public (Metasploit or Nuclei).
Sources
Check one version you run: look CVE-2022-22242 up, or pick a product and version in the quick lookup.
Updated 1 December 2026.