CVE-2024-21620: Juniper Networks - Reflected XSS
- Cve: CVE-2024-21620
- Name: Juniper Networks - Reflected XSS
- 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.
- Impact: Attackers can execute scripts in the context of another user, potentially leading to session hijacking or other malicious actions.
- Remediation: Update to the latest versions: 20.4R3-S10, 21.2R3-S8, 21.4R3-S6, 22.1R3-S5, 22.2R3-S3, 22.3R3-S2, 22.4R3-S1, 23.2R2, or 23.4R2.
- Vulnerability type: reflected_xss
- Vulnerability impact: client_script_exec
- Requirement type: user_interaction
- Requirements: Victim must visit a malicious URL
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 6.1
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- Epss score: 0.00908
- Epss percentile: 0.60651
- Assignee: [email protected]
- Published at: 2024-01-25T23:15:09Z
- Age in days: 1034
- Modified at: 2026-06-17T07:09:51Z
- Patch available: yes
- References total: 2
- Products total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2024-21620
- Nvd status: modified
- Checked, none or zero: nuclei templates, public exploits total, public exploits capped, public exploits, oss, projects total, projects, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation |
Known exploited entries
| List | Added date | Due date | Ransomware use |
|---|---|---|---|
| vulncheck | 2025-08-24 | — | no |
References
| Url | Source | Tags |
|---|---|---|
| https://supportportal.juniper.net/JSA76390 | nvd | Vendor Advisory |
| https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?host_type=src&vulnerability=cve-2024-21620 | vulncheck | Vulncheck Reported Exploitation |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| juniper:junos | = 23.4 r1, = 23.2, = 23.2 r1, = 23.2 r1-s1, = 23.2 r1-s2, = 22.4, = 22.4 r1, = 22.4 r1-s1, = 22.4 r1-s2, = 22.4 r2, = 22.4 r2-s1, = 22.4 r2-s2, = 22.4 r3, = 22.3, = 22.3 r1, = 22.3 r1-s1, = 22.3 r1-s2, = 22.3 r2, = 22.3 r2-s1, = 22.3 r2-s2, = 22.3 r3, = 22.3 r3-s1, = 22.2, = 22.2 r1, = 22.2 r1-s1, = 22.2 r1-s2, = 22.2 r2, = 22.2 r2-s1, = 22.2 r2-s2, = 22.2 r3, = 22.2 r3-s1, = 22.2 r3-s2, = 22.1, = 22.1 r1, = 22.1 r1-s1, = 22.1 r1-s2, = 22.1 r2, = 22.1 r2-s1, = 22.1 r2-s2, = 22.1 r3, = 22.1 r3-s1, = 22.1 r3-s2, = 22.1 r3-s3, = 22.1 r3-s4, = 21.4, = 21.4 r1, = 21.4 r1-s1, = 21.4 r1-s2, = 21.4 r2, = 21.4 r2-s1, = 21.4 r2-s2, = 21.4 r3, = 21.4 r3-s1, = 21.4 r3-s2, = 21.4 r3-s3, = 21.4 r3-s4, = 21.4 r3-s5, = 21.2, = 21.2 r1, = 21.2 r1-s1, = 21.2 r1-s2, = 21.2 r2, = 21.2 r2-s1, = 21.2 r2-s2, = 21.2 r3, = 21.2 r3-s1, = 21.2 r3-s2, = 21.2 r3-s3, = 21.2 r3-s4, = 21.2 r3-s5, = 21.2 r3-s6, = 21.2 r3-s7, < 20.4, = 20.4, = 20.4 r1, = 20.4 r1-s1, = 20.4 r2, = 20.4 r2-s1, = 20.4 r2-s2, = 20.4 r3, = 20.4 r3-s1, = 20.4 r3-s2, = 20.4 r3-s3, = 20.4 r3-s4, = 20.4 r3-s5, = 20.4 r3-s6, = 20.4 r3-s7, = 20.4 r3-s8, = 20.4 r3-s9 | yes | nvd | /v1/products/juniper/junos |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Known exploited by: vulncheck
- Vulncheck known exploited since: 2025-08-24
- Remote: yes
- Exposed hosts: 23086
- Checked, none or zero: known exploited, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports