SecurityContext

CVE-2022-22181: Juniper Networks Junos OS - Reflected XSS

  • Cve: CVE-2022-22181
  • Name: Juniper Networks Junos OS - Reflected XSS
  • Description: A reflected Cross-site Scripting (XSS) vulnerability in J-Web of Juniper Networks Junos OS allows a network-based authenticated attacker to run malicious scripts reflected off J-Web to the victim's browser in the context of their session within J-Web. This may allow the attacker to gain control of the device or attack other authenticated user sessions. This issue affects: Juniper Networks Junos OS All versions prior to 18.3R3-S5; 18.4 versions prior to 18.4R3-S9; 19.1 versions prior to 19.1R3-S6; 19.2 versions prior to 19.2R3-S3; 19.3 versions prior to 19.3R2-S6, 19.3R3-S3; 19.4 versions prior to 19.4R3-S5; 20.1 versions prior to 20.1R3-S4; 20.2 versions prior to 20.2R3-S2; 20.3 versions prior to 20.3R3; 20.4 versions prior to 20.4R3; 21.1 versions prior to 21.1R1-S1, 21.1R2.
  • Impact: Attackers can execute malicious scripts in the victim's browser, potentially hijacking sessions or gaining control of the device.
  • Remediation: Update to the latest versions: 18.3R3-S5, 18.4R3-S9, 19.1R3-S6, 19.2R3-S3, 19.3R2-S6, 19.3R3-S3, 19.4R3-S5, 20.1R3-S4, 20.2R3-S2, 20.3R3, 20.4R3, 21.1R1-S1, 21.1R2 or later versions.
  • Vulnerability type: reflected_xss
  • Vulnerability impact: client_script_exec
  • Requirement type: logged_in
  • Requirements: Attacker needs to be authenticated on the network
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 5.4
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
  • Epss score: 0.00685
  • Epss percentile: 0.5356
  • Assignee: [email protected]
  • Published at: 2022-04-14T16:15:07Z
  • Age in days: 1685
  • Modified at: 2026-06-17T04:27:56Z
  • Patch available: yes
  • References total: 1
  • Products total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2022-22181
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, oss, projects total, projects, rejected by nvd
  • Not known: hackerone

Cwe

IdName
CWE-79Improper Neutralization of Input During Web Page Generation

References

UrlSourceTags
https://kb.juniper.net/JSA69517nvdVendor Advisory

Products

ProductAffectedPlatform boundSourcesUrl
juniper:junos= 21.1, = 21.1 r1, = 20.4, = 20.4 r1, = 20.4 r1-s1, = 20.4 r2, = 20.4 r2-s1, = 20.4 r2-s2, = 20.3, = 20.3 r1, = 20.3 r1-s1, = 20.3 r2, = 20.3 r2-s1, = 20.2, = 20.2 r1, = 20.2 r1-s1, = 20.2 r1-s2, = 20.2 r1-s3, = 20.2 r2, = 20.2 r2-s1, = 20.2 r2-s2, = 20.2 r2-s3, = 20.2 r3, = 20.2 r3-s1, = 20.1, = 20.1 r1, = 20.1 r1-s1, = 20.1 r1-s2, = 20.1 r1-s3, = 20.1 r1-s4, = 20.1 r2, = 20.1 r2-s1, = 20.1 r2-s2, = 20.1 r3, = 20.1 r3-s1, = 20.1 r3-s2, = 20.1 r3-s3, = 19.4, = 19.4 r1, = 19.4 r1-s1, = 19.4 r1-s2, = 19.4 r1-s3, = 19.4 r1-s4, = 19.4 r2, = 19.4 r2-s1, = 19.4 r2-s2, = 19.4 r2-s3, = 19.4 r2-s4, = 19.4 r3, = 19.4 r3-s1, = 19.4 r3-s2, = 19.4 r3-s3, = 19.4 r3-s4, = 19.3, = 19.3 r1, = 19.3 r1-s1, = 19.3 r2, = 19.3 r2-s1, = 19.3 r2-s2, = 19.3 r2-s3, = 19.3 r2-s4, = 19.3 r2-s5, = 19.3 r3-s1, = 19.3 r3-s2, = 19.2, = 19.2 r1, = 19.2 r1-s1, = 19.2 r1-s2, = 19.2 r1-s3, = 19.2 r1-s4, = 19.2 r1-s5, = 19.2 r1-s6, = 19.2 r1-s7, = 19.2 r2, = 19.2 r2-s1, = 19.2 r3, = 19.2 r3-s1, = 19.2 r3-s2, = 19.1, = 19.1 r1, = 19.1 r1-s1, = 19.1 r1-s2, = 19.1 r1-s3, = 19.1 r1-s4, = 19.1 r1-s5, = 19.1 r1-s6, = 19.1 r2, = 19.1 r2-s1, = 19.1 r2-s2, = 19.1 r3, = 19.1 r3-s1, = 19.1 r3-s2, = 19.1 r3-s3, = 19.1 r3-s4, = 19.1 r3-s5, = 18.4, = 18.4 r1, = 18.4 r1-s1, = 18.4 r1-s2, = 18.4 r1-s3, = 18.4 r1-s4, = 18.4 r1-s5, = 18.4 r1-s6, = 18.4 r1-s7, = 18.4 r2, = 18.4 r2-s1, = 18.4 r2-s2, = 18.4 r2-s3, = 18.4 r2-s4, = 18.4 r2-s5, = 18.4 r2-s6, = 18.4 r2-s7, = 18.4 r2-s8, = 18.4 r3, = 18.4 r3-s1, = 18.4 r3-s2, = 18.4 r3-s3, = 18.4 r3-s4, = 18.4 r3-s5, = 18.4 r3-s6, = 18.4 r3-s7, = 18.4 r3-s8, < 18.3, = 18.3, = 18.3 r, = 18.3 r1, = 18.3 r1-s1, = 18.3 r1-s2, = 18.3 r1-s3, = 18.3 r1-s4, = 18.3 r1-s5, = 18.3 r1-s6, = 18.3 r2, = 18.3 r2-s1, = 18.3 r2-s2, = 18.3 r2-s3, = 18.3 r2-s4, = 18.3 r3, = 18.3 r3-s1, = 18.3 r3-s2, = 18.3 r3-s3, = 18.3 r3-s4nonvd/v1/products/juniper/junos

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Remote: yes
  • Authentication required: yes
  • Exposed hosts: 23086
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports