title: Junos OS: Cross-site Scripting (XSS) vulnerability in J-Web
description: 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.
problem types: CWE-79 Cross-site Scripting (XSS)
affected:
{
vendor: Juniper Networks
product: Junos OS
versions:
version: unspecified, lessThan: 19.1R3-S9, status: affected, versionType: custom
version: 19.2, status: affected, lessThan: 19.2R3-S6, versionType: custom
version: 19.3, status: affected, lessThan: 19.3R3-S7, versionType: custom
version: 19.4, status: affected, lessThan: 19.4R2-S7, 19.4R3-S8, versionType: custom
version: 20.1, status: affected, lessThan: 20.1R3-S5, versionType: custom
version: 20.2, status: affected, lessThan: 20.2R3-S5, versionType: custom
version: 20.3, status: affected, lessThan: 20.3R3-S5, versionType: custom
version: 20.4, status: affected, lessThan: 20.4R3-S4, versionType: custom
version: 21.1, status: affected, lessThan: 21.1R3-S4, versionType: custom
version: 21.2, status: affected, lessThan: 21.2R3-S1, versionType: custom
version: 21.3, status: affected, lessThan: 21.3R3, versionType: custom
version: 21.4, status: affected, lessThan: 21.4R2, versionType: custom
version: 22.1, status: affected, lessThan: 22.1R2, versionType: custom
}
metrics:
cvssV3_1: [
version: 3.1
vectorString: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
attackVector: NETWORK
attackComplexity: LOW
privilegesRequired: NONE
userInteraction: REQUIRED
scope: CHANGED
confidentialityImpact: LOW
integrityImpact: LOW
availabilityImpact: NONE
baseScore: 6.1
baseSeverity: MEDIUM
]
exploits: Juniper SIRT is not aware of any malicious exploitation of this vulnerability.
solutions: The following software releases have been updated to resolve this specific issue: Junos OS 19.1R3-S9, 19.2R3-S6. 19.3R3-S7, 19.4R3-S9, 20.1R3-S5, 20.2R3-S5, 20.3R3-S5, 20.4R3-S4, 21.1R3-S4, 21.2R3-S1, 21.3R3, 21.4R2, 21.4R3, 22.1R2, 22.2R1, and all subsequent releases.
workarounds: Disable J-Web, or limit access to only trusted hosts.