What’s Vulnerable › Vulnerabilities
CVE-2022-22181: Junos OS: J-Web can be compromised through reflected XSS attacks
- Severity: medium (CVSS 5.4 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.7% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2022-04-14 · updated 2026-06-17
- Weakness: CWE-79
Description
A reflected Cross-site Scripting (XSS) vulnerability in J-Web of Juniper Networks Junos OS allows a network-based authenticated attacker to run malicious scripts reflected off J-Web to the victim's browser in the context of their session within J-Web. This may allow the attacker to gain control of the device or attack other authenticated user sessions. This issue affects: Juniper Networks Junos OS All versions prior to 18.3R3-S5; 18.4 versions prior to 18.4R3-S9; 19.1 versions prior to 19.1R3-S6; 19.2 versions prior to 19.2R3-S3; 19.3 versions prior to 19.3R2-S6, 19.3R3-S3; 19.4 versions prior to 19.4R3-S5; 20.1 versions prior to 20.1R3-S4; 20.2 versions prior to 20.2R3-S2; 20.3 versions prior to 20.3R3; 20.4 versions prior to 20.4R3; 21.1 versions prior to 21.1R1-S1, 21.1R2.
Affected products
- Juniper Junos OS: before 18.3; 18.3, 18.3-r, 18.3-r1, 18.3-r1-s1, 18.3-r1-s2, 18.3-r1-s3 (+135) — fixed in 18.3
How to fix
Upgrade to a fixed version: Juniper Junos OS 18.3. Check the vendor advisory for mitigations.
References
Get alerted when CVE-2022-22181 or the next vulnerability affects your stack