CVE-2022-22181

Junos OS: J-Web can be compromised through reflected XSS attacks

MEDIUM
5.4
CVSS Score
Published: April 14, 2022 at 03:50 PM UTC
Updated: June 17, 2026 at 04:27 AM UTC
1 product affected across 1 vendorJunos

Using Junos OS by Juniper Networks?

Get instant alerts when new vulnerabilities affect Junos OS - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.4
Exploit prediction
EPSS 0.7%

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 18.3v < 18.3R3-S518.4 ≤ v < 18.4R3-S919.1 ≤ v < 19.1R3-S619.2 ≤ v < 19.2R3-S319.3 ≤ v < 19.3R2-S6, 19.3R3-S319.4 ≤ v < 19.4R3-S520.1 ≤ v < 20.1R3-S420.2 ≤ v < 20.2R3-S220.3 ≤ v < 20.3R320.4 ≤ v < 20.4R321.1 ≤ v < 21.1R1-S1, 21.1R218.318.3 r18.3 r118.3 r1-s118.3 r1-s218.3 r1-s318.3 r1-s418.3 r1-s518.3 r1-s618.3 r218.3 r2-s118.3 r2-s218.3 r2-s318.3 r2-s418.3 r318.3 r3-s118.3 r3-s218.3 r3-s318.3 r3-s418.418.4 r118.4 r1-s118.4 r1-s218.4 r1-s318.4 r1-s418.4 r1-s518.4 r1-s618.4 r1-s718.4 r218.4 r2-s118.4 r2-s218.4 r2-s318.4 r2-s418.4 r2-s518.4 r2-s618.4 r2-s718.4 r2-s818.4 r318.4 r3-s118.4 r3-s218.4 r3-s318.4 r3-s418.4 r3-s518.4 r3-s618.4 r3-s718.4 r3-s819.119.1 r119.1 r1-s119.1 r1-s219.1 r1-s319.1 r1-s419.1 r1-s519.1 r1-s619.1 r219.1 r2-s119.1 r2-s219.1 r319.1 r3-s119.1 r3-s219.1 r3-s319.1 r3-s419.1 r3-s519.219.2 r119.2 r1-s119.2 r1-s219.2 r1-s319.2 r1-s419.2 r1-s519.2 r1-s619.2 r1-s719.2 r219.2 r2-s119.2 r319.2 r3-s119.2 r3-s219.319.3 r119.3 r1-s119.3 r219.3 r2-s119.3 r2-s219.3 r2-s319.3 r2-s419.3 r2-s519.3 r3-s119.3 r3-s219.419.4 r119.4 r1-s119.4 r1-s219.4 r1-s319.4 r1-s419.4 r219.4 r2-s119.4 r2-s219.4 r2-s319.4 r2-s419.4 r319.4 r3-s119.4 r3-s219.4 r3-s319.4 r3-s420.120.1 r120.1 r1-s120.1 r1-s220.1 r1-s320.1 r1-s420.1 r220.1 r2-s120.1 r2-s220.1 r320.1 r3-s120.1 r3-s220.1 r3-s320.220.2 r120.2 r1-s120.2 r1-s220.2 r1-s320.2 r220.2 r2-s120.2 r2-s220.2 r2-s320.2 r320.2 r3-s120.320.3 r120.3 r1-s120.3 r220.3 r2-s120.420.4 r120.4 r1-s120.4 r220.4 r2-s120.4 r2-s221.121.1 r1
Affected range stops below 18.3, so it looks safe — our inference, not a vendor statement
Affected range stops below 18.3R3-S5, so it looks safe — our inference, not a vendor statement
Affected range stops below 18.4R3-S9, so it looks safe — our inference, not a vendor statement
Affected range stops below 19.1R3-S6, so it looks safe — our inference, not a vendor statement
Affected range stops below 19.2R3-S3, so it looks safe — our inference, not a vendor statement
Affected range stops below 19.3R2-S6, 19.3R3-S3, so it looks safe — our inference, not a vendor statement
Affected range stops below 19.4R3-S5, so it looks safe — our inference, not a vendor statement
Affected range stops below 20.1R3-S4, so it looks safe — our inference, not a vendor statement
Affected range stops below 20.2R3-S2, so it looks safe — our inference, not a vendor statement
Affected range stops below 20.3R3, so it looks safe — our inference, not a vendor statement
Affected range stops below 20.4R3, so it looks safe — our inference, not a vendor statement
Affected range stops below 21.1R1-S1, 21.1R2, so it looks safe — our inference, not a vendor statement

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

Patch and advisory references

References (1)

x_refsource_CONFIRMVendor Advisory
https://kb.juniper.net/JSA69517

CVSS

Attack Vector
NETWORK
Complexity
LOW
Privileges
LOW
User Interaction
REQUIRED
Scope
CHANGED
Confidentiality
LOW
Integrity
LOW
Availability
NONE
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-79

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card