CVE-2022-22242

Junos OS: Cross-site Scripting (XSS) vulnerability in J-Web

Description

A Cross-site Scripting (XSS) vulnerability in the J-Web component of Juniper Networks Junos OS allows an unauthenticated attacker to run malicious scripts reflected off of J-Web to the victim's browser in the context of their session within J-Web. This issue affects Juniper Networks Junos OS all versions prior to 19.1R3-S9; 19.2 versions prior to 19.2R3-S6; 19.3 versions prior to 19.3R3-S7; 19.4 versions prior to 19.4R2-S7, 19.4R3-S8; 20.1 versions prior to 20.1R3-S5; 20.2 versions prior to 20.2R3-S5; 20.3 versions prior to 20.3R3-S5; 20.4 versions prior to 20.4R3-S4; 21.1 versions prior to 21.1R3-S4; 21.2 versions prior to 21.2R3-S1; 21.3 versions prior to 21.3R3; 21.4 versions prior to 21.4R2; 22.1 versions prior to 22.1R2.

Remediation

Solution:

  • The following software releases have been updated to resolve this specific issue: Junos OS 19.1R3-S9, 19.2R3-S6. 19.3R3-S7, 19.4R3-S9, 20.1R3-S5, 20.2R3-S5, 20.3R3-S5, 20.4R3-S4, 21.1R3-S4, 21.2R3-S1, 21.3R3, 21.4R2, 21.4R3, 22.1R2, 22.2R1, and all subsequent releases.

Workaround:

  • Disable J-Web, or limit access to only trusted hosts.

Category

6.1
CVSS
Severity: Medium
CVSS 3.1 •
EPSS 87.40% Top 5%
Vendor Advisory juniper.net
Affected: Juniper Networks Junos OS
Published at:
Updated at:

References

Link Tags
https://kb.juniper.net/JSA69899 vendor advisory

Frequently Asked Questions

What is the severity of CVE-2022-22242?
CVE-2022-22242 has been scored as a medium severity vulnerability.
How to fix CVE-2022-22242?
To fix CVE-2022-22242: The following software releases have been updated to resolve this specific issue: Junos OS 19.1R3-S9, 19.2R3-S6. 19.3R3-S7, 19.4R3-S9, 20.1R3-S5, 20.2R3-S5, 20.3R3-S5, 20.4R3-S4, 21.1R3-S4, 21.2R3-S1, 21.3R3, 21.4R2, 21.4R3, 22.1R2, 22.2R1, and all subsequent releases.
Is CVE-2022-22242 being actively exploited in the wild?
It is possible that CVE-2022-22242 is being exploited or will be exploited in a near future based on public information. According to its EPSS score, there is a ~87% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
What software or system is affected by CVE-2022-22242?
CVE-2022-22242 affects Juniper Networks Junos OS.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.