CVE-2024-21620

Junos OS: SRX Series and EX Series: J-Web doesn't sufficiently sanitize input to prevent XSS

AllVuln state: AFFECTED

HIGH
CVSS
8.8
3.1
EPSS
0.91%
Percentile 61.19%
CISA KEV
Not listed
Published
January 25, 2024
Updated May 29, 2025

Description

An Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in J-Web of Juniper Networks Junos OS on SRX Series and EX Series allows an attacker to construct a URL that when visited by another user enables the attacker to execute commands with the target's permissions, including an administrator. A specific invocation of the emit_debug_note method in webauth_operation.php will echo back the data it receives. This issue affects Juniper Networks Junos OS on SRX Series and EX Series: * All versions earlier than 20.4R3-S10; * 21.2 versions earlier than 21.2R3-S8; * 21.4 versions earlier than 21.4R3-S6; * 22.1 versions earlier than 22.1R3-S5; * 22.2 versions earlier than 22.2R3-S3; * 22.3 versions earlier than 22.3R3-S2; * 22.4 versions earlier than 22.4R3-S1; * 23.2 versions earlier than 23.2R2; * 23.4 versions earlier than 23.4R2.

Risk details

CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
attack vector
N
attack complexity
L
privileges required
N
user interaction
R
scope
U
CWE
CWE-79

What should I do?

Review the vendor remediation for fixed or recommended release 20.4R3-S10.

Supported product evidence

Juniper Networks · Junos OS
Confirmed affected by authoritative structured evidence · Juniper Networks CNA / CVE List V5
Vendor advisory ↗

Applicability

AFFECTED · RANGE
20.4R3-S10
NOT_AFFECTED · EXACT
20.4R3-S10
AFFECTED · RANGE
21.2R3-S8
NOT_AFFECTED · EXACT
21.2R3-S8
AFFECTED · RANGE
21.4R3-S6
NOT_AFFECTED · EXACT
21.4R3-S6
AFFECTED · RANGE
22.1R3-S5
NOT_AFFECTED · EXACT
22.1R3-S5
AFFECTED · RANGE
22.2R3-S3
NOT_AFFECTED · EXACT
22.2R3-S3
AFFECTED · RANGE
22.3R3-S2
NOT_AFFECTED · EXACT
22.3R3-S2
AFFECTED · RANGE
22.4R3-S1
NOT_AFFECTED · EXACT
22.4R3-S1
AFFECTED · RANGE
23.2R2
NOT_AFFECTED · EXACT
23.2R2
AFFECTED · RANGE
23.4R2
NOT_AFFECTED · EXACT
23.4R2
NOT_AFFECTED · DEFAULT
{"defaultStatus": "unaffected"}

Remediation

FIX_AVAILABLE
Release train: 20.4
First fixed: 20.4R3-S10
Vendor recommended: Not supplied
Remediation source ↗
FIX_AVAILABLE
Release train: 21.2
First fixed: 21.2R3-S8
Vendor recommended: Not supplied
Remediation source ↗
FIX_AVAILABLE
Release train: 21.4
First fixed: 21.4R3-S6
Vendor recommended: Not supplied
Remediation source ↗
FIX_AVAILABLE
Release train: 22.1
First fixed: 22.1R3-S5
Vendor recommended: Not supplied
Remediation source ↗
FIX_AVAILABLE
Release train: 22.2
First fixed: 22.2R3-S3
Vendor recommended: Not supplied
Remediation source ↗
FIX_AVAILABLE
Release train: 22.3
First fixed: 22.3R3-S2
Vendor recommended: Not supplied
Remediation source ↗
FIX_AVAILABLE
Release train: 22.4
First fixed: 22.4R3-S1
Vendor recommended: Not supplied
Remediation source ↗
FIX_AVAILABLE
Release train: 23.2
First fixed: 23.2R2
Vendor recommended: Not supplied
Remediation source ↗
FIX_AVAILABLE
Release train: 23.4
First fixed: 23.4R2
Vendor recommended: Not supplied
Remediation source ↗
Juniper Networks · Junos OS
Referenced / metadata only · CVE List V5
Vendor advisory ↗

Applicability

AFFECTED · RANGE
20.4R3-S10
Platform: SRX Series
AFFECTED · RANGE
20.4R3-S10
Platform: EX Series
AFFECTED · RANGE
21.2 → 21.2R3-S8
Platform: SRX Series
AFFECTED · RANGE
21.2 → 21.2R3-S8
Platform: EX Series
AFFECTED · RANGE
21.4 → 21.4R3-S6
Platform: SRX Series
AFFECTED · RANGE
21.4 → 21.4R3-S6
Platform: EX Series
AFFECTED · RANGE
22.1 → 22.1R3-S5
Platform: SRX Series
AFFECTED · RANGE
22.1 → 22.1R3-S5
Platform: EX Series
AFFECTED · RANGE
22.2 → 22.2R3-S3
Platform: SRX Series
AFFECTED · RANGE
22.2 → 22.2R3-S3
Platform: EX Series
AFFECTED · RANGE
22.3 → 22.3R3-S2
Platform: SRX Series
AFFECTED · RANGE
22.3 → 22.3R3-S2
Platform: EX Series
AFFECTED · RANGE
22.4 → 22.4R3-S1
Platform: SRX Series
AFFECTED · RANGE
22.4 → 22.4R3-S1
Platform: EX Series
AFFECTED · RANGE
23.2 → 23.2R2
Platform: SRX Series
AFFECTED · RANGE
23.2 → 23.2R2
Platform: EX Series
AFFECTED · RANGE
23.4 → 23.4R2
Platform: SRX Series
AFFECTED · RANGE
23.4 → 23.4R2
Platform: EX Series

Remediation

UNKNOWN
Release train: 20.4R3
First fixed: Unknown
Vendor recommended: Not supplied
UNKNOWN
Release train: 21.2
First fixed: Unknown
Vendor recommended: Not supplied
UNKNOWN
Release train: 21.4
First fixed: Unknown
Vendor recommended: Not supplied
UNKNOWN
Release train: 22.1
First fixed: Unknown
Vendor recommended: Not supplied
UNKNOWN
Release train: 22.2
First fixed: Unknown
Vendor recommended: Not supplied
UNKNOWN
Release train: 22.3
First fixed: Unknown
Vendor recommended: Not supplied
UNKNOWN
Release train: 22.4
First fixed: Unknown
Vendor recommended: Not supplied
UNKNOWN
Release train: 23.2
First fixed: Unknown
Vendor recommended: Not supplied
UNKNOWN
Release train: 23.4
First fixed: Unknown
Vendor recommended: Not supplied

Evidence sources

Coverage varies by vendor, product, platform, and historical source availability. Absence of a finding is not a security guarantee. Validate critical remediation against the linked vendor advisory.

AllVuln data refreshed November 5, 2026.