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

- Severity: High 8.8 (CVSS:3.1, scored by juniper) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.91%, higher than 60% of CVEs (2026-12-01)
- Published: 2024-01-25T22:50:18.164Z
- Modified: 2026-06-17T07:09:51.680Z
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: juniper

## 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.

(As written by CVE List.)

## Affected

- Juniper Networks Junos OS: before 20.4R3-S10; from 21.2 before 21.2R3-S8; from 21.4 before 21.4R3-S6; from 22.1 before 22.1R3-S5; from 22.2 before 22.2R3-S3; from 22.3 before 22.3R3-S2; from 22.4 before 22.4R3-S1; from 23.2 before 23.2R2; from 23.4 before 23.4R2
- juniper junos: before 20.4; 20.4; 21.2; 21.4; 22.1

## Every score

- juniper: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://supportportal.juniper.net/JSA76390> (vendor-advisory)

## Sources

- CVE List: [CVE-2024-21620](https://www.cve.org/CVERecord?id=CVE-2024-21620), CVE Terms of Use, modified 2025-05-29
- NVD: [CVE-2024-21620](https://nvd.nist.gov/vuln/detail/CVE-2024-21620), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-21620 · Whole record: https://cve.day/CVE-2024-21620.json · Rebuilt by cve.day 2026-11-25T22:58:36.348Z
