title: Junos OS: Stored Cross-Site Scripting (XSS) vulnerability in captive portal
description: A persistent cross-site scripting (XSS) vulnerability in the captive portal graphical user interface of Juniper Networks Junos OS may allow a remote authenticated user to inject web script or HTML and steal sensitive data and credentials from a web administration session, possibly tricking a follow-on administrative user to perform administrative actions on the device. This issue affects Juniper Networks Junos OS: All versions, including the following supported releases: 12.3X48 versions prior to 12.3X48-D105; 15.1X49 versions prior to 15.1X49-D220; 18.3 versions prior to 18.3R3-S5; 18.4 versions prior to 18.4R3-S9; 19.1 versions prior to 19.1R3-S7; 19.2 versions prior to 19.2R3-S3; 19.3 versions prior to 19.3R3-S4; 19.4 versions prior to 19.4R3-S6; 20.1 versions prior to 20.1R3; 20.2 versions prior to 20.2R1-S1, 20.2R2; 20.3 versions prior to 20.3R2; 20.4 versions prior to 20.4R2; 21.1 versions prior to 21.1R2.
problem types: CWE-79 Cross-site Scripting (XSS)
affected:
{
product: Junos OS
vendor: Juniper Networks
versions:
lessThan: 12.3X48-D105, status: affected, version: 12.3X48, versionType: custom
lessThan: 15.1X49-D220, status: affected, version: 15.1X49, versionType: custom
lessThan: 18.3R3-S5, status: affected, version: 18.3, versionType: custom
lessThan: 18.4R3-S9, status: affected, version: 18.4, versionType: custom
lessThan: 19.1R3-S7, status: affected, version: 19.1, versionType: custom
lessThan: 19.2R3-S3, status: affected, version: 19.2, versionType: custom
lessThan: 19.3R3-S4, status: affected, version: 19.3, versionType: custom
lessThan: 19.4R3-S6, status: affected, version: 19.4, versionType: custom
lessThan: 20.1R3, status: affected, version: 20.1, versionType: custom
lessThan: 20.2R1-S1, 20.2R2, status: affected, version: 20.2, versionType: custom
lessThan: 20.3R2, status: affected, version: 20.3, versionType: custom
lessThan: 20.4R2, status: affected, version: 20.4, versionType: custom
lessThan: 21.1R2, status: affected, version: 21.1, versionType: custom
}
metrics:
cvssV3_1: [
attackComplexity: LOW
attackVector: NETWORK
availabilityImpact: HIGH
baseScore: 8
baseSeverity: HIGH
confidentialityImpact: HIGH
integrityImpact: HIGH
privilegesRequired: LOW
scope: UNCHANGED
userInteraction: REQUIRED
vectorString: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
version: 3.1
]
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 12.3X48-D105, 15.1X49-D220, 18.3R3-S5, 18.4R3-S9, 19.1R3-S7, 19.2R3-S3, 19.3R3-S4, 19.4R3-S6, 20.1R3, 20.2R1-S1, 20.2R2, 20.3R2, 20.4R2, 21.1R2, 21.2R1 and all subsequent releases.
Additionally, after performing an upgrade to a resolved release, additional steps must be taken to ensure that all stored malicious scripts are removed from the configuration.
workarounds: There are no viable workarounds for this issue.