CVE-2022-22242
High PUBLISHEDJunos OS: Cross-site Scripting (XSS) vulnerability in J-Web
Not yet in CISA KEV
Recommended Action
Prioritize remediation. Validate affected assets and apply vendor fixes on an accelerated timeline.
At a Glance
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.
- CVE Published
- Oct 18, 2022
- Exploitation Reported
- Jul 21, 2025
- CVSS
- 6.1 Medium
- EPSS
- —
Affected Versions
| Vendor | Product | Version | Status |
|---|---|---|---|
| Juniper Networks |
Junos OS
|
unspecified to < 19.1R3-S9 |
Affected |
| Juniper Networks |
Junos OS
|
19.2 to < 19.2R3-S6 |
Affected |
| Juniper Networks |
Junos OS
|
19.3 to < 19.3R3-S7 |
Affected |
| Juniper Networks |
Junos OS
|
19.4 to < 19.4R2-S7, 19.4R3-S8 |
Affected |
| Juniper Networks |
Junos OS
|
20.1 to < 20.1R3-S5 |
Affected |
| Juniper Networks |
Junos OS
|
20.2 to < 20.2R3-S5 |
Affected |
| Juniper Networks |
Junos OS
|
20.3 to < 20.3R3-S5 |
Affected |
| Juniper Networks |
Junos OS
|
20.4 to < 20.4R3-S4 |
Affected |
| Juniper Networks |
Junos OS
|
21.1 to < 21.1R3-S4 |
Affected |
| Juniper Networks |
Junos OS
|
21.2 to < 21.2R3-S1 |
Affected |
| Juniper Networks |
Junos OS
|
21.3 to < 21.3R3 |
Affected |
| Juniper Networks |
Junos OS
|
21.4 to < 21.4R2 |
Affected |
| Juniper Networks |
Junos OS
|
22.1 to < 22.1R2 |
Affected |
CVE References
- kb.juniper.net/JSA69899 kb.juniper.net · CVE Record https://kb.juniper.net/JSA69899
Recommended Actions
- Prioritize remediation. Validate affected assets and apply vendor fixes on an accelerated timeline.
- Check enrichment artifacts for scanner coverage and available PoCs before rolling remediation validation.
- Use the Pro API to automate enrichment, telemetry, and workflow delivery for VM, SOC, and CTI pipelines.
Known Exploited Vulnerability Sources
Catalogues that list this CVE as a known exploited vulnerability.
Per-source evidence links for KEV attestations are available through the KEVIntel Pro API.
Learn about Pro API access| Source | Added |
|---|---|
| The Shadowserver First | 2025-07-21 00:00 UTC |
Scanner Artifacts
Nuclei and Metasploit references linked to this CVE.
| Scanner | Reference | Detected |
|---|---|---|
| Nuclei | https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2022/CVE-2022-22242.yaml | Apr 25, 2025 |
Virtual Patch
Compensating WAF rules to help reduce exposure to this CVE. Rule content and deployable vendor exports are available with KEVIntel Enterprise.
KEVIntel does not currently have a virtual patch for this CVE. When available, KEVIntel virtual patches ship as deployable ModSecurity, Cloudflare, and AWS WAF rules.
Enterprise feature. Virtual patch rule content and deployable vendor exports (ModSecurity, Cloudflare, AWS WAF) are available to KEVIntel Enterprise users.
CVSS Scores
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Exploitation Status
Exploited in the wild
Recorded 2025-07-21 00:00:00 UTC · The Shadowserver
Proof of concept available
Recorded 2026-06-12 14:20:29 UTC · Nuclei Templates
Weaknesses (CWE)
-
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Scanner Integrations
| Scanner | Reference | Detected |
|---|---|---|
| Nuclei | https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2022/CVE-2022-22242.yaml | Apr 25, 2025 |
Potential Proof of Concepts
These PoCs are unverified and could contain malware. Use at your own risk.
nuclei · Created Unknown
Timeline
Key exploitation, disclosure, scanner coverage, and KEV attestation events for this CVE.
-
14:20 UTC about 1 month ago14:20 UTC · about 1 month ago
Public PoC available
Public proof-of-concept code published
-
00:00 UTC about 1 year ago00:00 UTC · about 1 year ago
Added to KEVIntel KEV Feed
High-confidence, third-party attested exploitation
-
00:00 UTC about 1 year ago00:00 UTC · about 1 year ago
Nuclei template available
Scanner coverage available
-
02:46 UTC almost 4 years ago02:46 UTC · almost 4 years ago
CVE published
Vulnerability disclosed publicly
-
00:00 UTC over 4 years ago00:00 UTC · over 4 years ago
CVE ID reserved
Identifier reserved by the CNA
Automate This Intelligence with the Pro API
Confidence scoring, exploit status, sensor telemetry, PoCs, scanner integrations, mentions, and tags are available programmatically for VM, SOC, and CTI workflows.
Pro API Example
GET /api/v2/pro/kevs/CVE-2022-22242
{
"cve_id": "CVE-2022-22242",
"title": "Junos OS: Cross-site Scripting (XSS) vulnerability in J-Web",
"affected_vendor": "Juniper Networks",
"affected_product": "Junos OS",
"affected_versions": [
{ "vendor": "...", "product": "...", "status": "affected", "display_label": "..." }
],
"confidence": "High",
"cvss_score": 6.1,
"epss_score": null,
"exploit_status": {
"exploited_in_the_wild": true,
"active_exploitation_observed": false
},
"sensor_telemetry": { "...": "Pro API fields" },
"proof_of_concepts": [ "..." ],
"scanner_integrations": [ "..." ]
}