{"id":"CVE-2024-21620","aliases":["CVE-2024-21620"],"related":[],"kind":"vulnerability","state":"published","title":"Junos OS: SRX Series and EX Series: J-Web doesn't sufficiently sanitize input to prevent XSS","summary":"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.\n\nA specific invocation of the emit_debug_note method in webauth_operation.php will echo back the data it receives.\n\nThis issue affects Juniper Networks Junos OS on SRX Series and EX Series:\n  *  All versions earlier than 20.4R3-S10;\n  *  21.2 versions earlier than 21.2R3-S8;\n  *  21.4 versions earlier than 21.4R3-S6;\n  *  22.1 versions earlier than 22.1R3-S5;\n  *  22.2 versions earlier than 22.2R3-S3;\n  *  22.3 versions earlier than 22.3R3-S2;\n  *  22.4 versions earlier than 22.4R3-S1;\n  *  23.2 versions earlier than 23.2R2;\n  *  23.4 versions earlier than 23.4R2.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.\n\nA specific invocation of the emit_debug_note method in webauth_operation.php will echo back the data it receives.\n\nThis issue affects Juniper Networks Junos OS on SRX Series and EX Series:\n  *  All versions earlier than 20.4R3-S10;\n  *  21.2 versions earlier than 21.2R3-S8;\n  *  21.4 versions earlier than 21.4R3-S6;\n  *  22.1 versions earlier than 22.1R3-S5;\n  *  22.2 versions earlier than 22.2R3-S3;\n  *  22.3 versions earlier than 22.3R3-S2;\n  *  22.4 versions earlier than 22.4R3-S1;\n  *  23.2 versions earlier than 23.2R2;\n  *  23.4 versions earlier than 23.4R2.","source":"cvelist"},{"lang":"es","text":"Una vulnerabilidad de neutralización incorrecta de la entrada durante la generación de páginas web ('Cross-site Scripting') en J-Web de Juniper Networks Junos OS en las series SRX y EX permite a un atacante construir una URL que, cuando la visita otro usuario, le permite ejecutar comandos con los permisos del objetivo, incluido un administrador. Una invocación específica del método emit_debug_note en webauth_operation.php devolverá los datos que recibe. Este problema afecta a Juniper Networks Junos OS en las series SRX y EX: * Todas las versiones anteriores a 20.4R3-S10; * Versiones 21.2 anteriores a 21.2R3-S8; * Versiones 21.4 anteriores a 21.4R3-S6; * Versiones 22.1 anteriores a 22.1R3-S5; * Versiones 22.2 anteriores a 22.2R3-S3; * Versiones 22.3 anteriores a 22.3R3-S2; * Versiones 22.4 anteriores a 22.4R3-S1; * Versiones 23.2 anteriores a 23.2R2; * Versiones 23.4 anteriores a 23.4R2.","source":"nvd"}],"published":"2024-01-25T22:50:18.164Z","modified":"2026-06-17T07:09:51.680Z","severity":{"scorer":"juniper","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},"severities":[{"scorer":"juniper","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"20.4R3-S10","status":"affected"},{"type":"semver","introduced":"21.2","fixed":"21.2R3-S8","status":"affected"},{"type":"semver","introduced":"21.4","fixed":"21.4R3-S6","status":"affected"},{"type":"semver","introduced":"22.1","fixed":"22.1R3-S5","status":"affected"},{"type":"semver","introduced":"22.2","fixed":"22.2R3-S3","status":"affected"},{"type":"semver","introduced":"22.3","fixed":"22.3R3-S2","status":"affected"},{"type":"semver","introduced":"22.4","fixed":"22.4R3-S1","status":"affected"},{"type":"semver","introduced":"23.2","fixed":"23.2R2","status":"affected"},{"type":"semver","introduced":"23.4","fixed":"23.4R2","status":"affected"}],"vendor":"Juniper Networks","product":"Junos OS","platforms":["SRX Series","EX Series"],"source":"cvelist"},{"ranges":[{"status":"affected","fixed":"20.4"},{"status":"affected","version":"20.4"},{"status":"affected","version":"20.4"},{"status":"affected","version":"20.4"},{"status":"affected","version":"20.4"},{"status":"affected","version":"20.4"},{"status":"affected","version":"20.4"},{"status":"affected","version":"20.4"},{"status":"affected","version":"20.4"},{"status":"affected","version":"20.4"},{"status":"affected","version":"20.4"},{"status":"affected","version":"20.4"},{"status":"affected","version":"20.4"},{"status":"affected","version":"20.4"},{"status":"affected","version":"20.4"},{"status":"affected","version":"20.4"},{"status":"affected","version":"20.4"},{"status":"affected","version":"21.2"},{"status":"affected","version":"21.2"},{"status":"affected","version":"21.2"},{"status":"affected","version":"21.2"},{"status":"affected","version":"21.2"},{"status":"affected","version":"21.2"},{"status":"affected","version":"21.2"},{"status":"affected","version":"21.2"},{"status":"affected","version":"21.2"},{"status":"affected","version":"21.2"},{"status":"affected","version":"21.2"},{"status":"affected","version":"21.2"},{"status":"affected","version":"21.2"},{"status":"affected","version":"21.2"},{"status":"affected","version":"21.2"},{"status":"affected","version":"21.4"},{"status":"affected","version":"21.4"},{"status":"affected","version":"21.4"},{"status":"affected","version":"21.4"},{"status":"affected","version":"21.4"},{"status":"affected","version":"21.4"},{"status":"affected","version":"21.4"},{"status":"affected","version":"21.4"},{"status":"affected","version":"21.4"},{"status":"affected","version":"21.4"},{"status":"affected","version":"21.4"},{"status":"affected","version":"21.4"},{"status":"affected","version":"21.4"},{"status":"affected","version":"22.1"},{"status":"affected","version":"22.1"},{"status":"affected","version":"22.1"},{"status":"affected","version":"22.1"},{"status":"affected","version":"22.1"}],"vendor":"juniper","product":"junos","cpe":"cpe:2.3:o:juniper:junos:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://supportportal.juniper.net/JSA76390","tags":["vendor-advisory","x-transferred"],"sources":["cvelist","nvd"]}],"credits":["The Juniper SIRT would like to acknowledge and thank watchtowr for responsibly reporting this vulnerability."],"assigner":"juniper","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2025-05-08T15:46:41.881Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-21620","url":"https://www.cve.org/CVERecord?id=CVE-2024-21620","licence":"CVE Terms of Use","modified":"2025-05-29T15:18:51.087Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-21620","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-21620","licence":"Public domain","modified":"2026-06-17T07:09:51.680Z"}],"updatedAt":"2026-11-25T22:58:36.348Z","epss":{"score":0.00908,"percentile":0.60975,"date":"2026-12-01T12:00:22.000Z"}}