Home / SonicWall / SonicOS / CVE-2020-5142
CVE-2020-5142: is it exploited, and which versions of SonicWall SonicOS are affected and fixed?
CVE-2020-5142 is a cross-site scripting (XSS) vulnerability in SonicWall SonicOS. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 15:09 UTC). Affected: SonicOS SonicOS 6.5.4.7-79n and earlier, SonicOS SonicOS 5.9.1.7-2n and earlier, SonicOS SonicOS 5.9.1.13-5n and earlier and 4 more (CVE record by sonicwall). No fixed version is listed in the sources yet; check the vendor advisory. Severity: Medium (6.1, CVSS 3.1, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 15:09 UTC, CVE record November 19, 2026, 07:16 UTC and NVD November 19, 2026, 08:07 UTC.
What is CVE-2020-5142?
A stored cross-site scripting (XSS) vulnerability exists in the SonicOS SSLVPN web interface. A remote unauthenticated attacker is able to store and potentially execute arbitrary JavaScript code in the firewall SSLVPN portal. This vulnerability affected SonicOS Gen 5 version 5.9.1.7, 5.9.1.13, Gen 6 version 6.5.4.7, 6.5.1.12, 6.0.5.3, SonicOSv 6.5.4.v and Gen 7 version SonicOS 7.0.0.0.
From the CVE record by sonicwall, last updated August 4, 2024, 08:22 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| SonicWall | SonicOS | SonicOS 6.5.4.7-79n and earlier SonicOS 5.9.1.7-2n and earlier SonicOS 5.9.1.13-5n and earlier SonicOS 6.5.1.11-4n and earlier SonicOS 6.0.5.3-93o and earlier SonicOSv 6.5.4.4-44v-21-794 and earlier SonicOS 7.0.0.0-1 |
As the CVE record by sonicwall states it, last updated August 4, 2024. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| sonicwall | sonicos | through 5.9.1.13 | operating system |
| sonicwall | sonicos | from 6.0.0.0 through 6.0.5.3 | operating system |
| sonicwall | sonicos | from 6.5.0.0 through 6.5.1.11 | operating system |
| sonicwall | sonicos | from 6.5.4.0 through 6.5.4.7 | operating system |
| sonicwall | sonicos | 7.0.0.0 | operating system |
| sonicwall | sonicosv | through 6.5.4.4 | operating system |
NVD analysis (status Modified), last modified June 17, 2026, 03:20 UTC.
How severe is CVE-2020-5142?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 6.1 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N | NVD |
| Medium 4.3 | CVSS 2.0 | AV:N/AC:M/Au:N/C:N/I:P/A:N | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2020-5142 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 1.25% probability of exploitation activity in the next 30 days, percentile 70.4 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-79 Improper Neutralization of Input During Web Page Generation
Where are the vendor advisories and references?
- https://psirt.global.sonicwall.com/vuln-detail/SNWLID-2020-0017 x_refsource_CONFIRM
When was it published, and where is the official record?
- Reserved
- December 31, 2019
- Published
- October 12, 2020, 10:40 UTC
- CVE record updated
- August 4, 2024, 08:22 UTC by sonicwall
- NVD
- Modified, last modified June 17, 2026, 03:20 UTC
- Last checked
- CVE list November 19, 2026, 07:16 UTC; NVD November 19, 2026, 08:07 UTC; KEV December 3, 2026, 15:09 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect SonicOS?
- Nov 6, 2026CVE-2026-19868 SonicWall SonicOS: use of Single-factor Authentication exploited
- Jan 9, 2025CVE-2024-53704 SonicWall SonicOS: authentication bypass (improper authentication) exploited
- Aug 23, 2024CVE-2024-40766 SonicWall SonicOS: improper access control exploited
- Oct 12, 2020CVE-2020-5135 SonicWall SonicOS: buffer overflow exploited
- Nov 6, 2026CVE-2026-19703 SonicWall SonicOS: hard-coded credentials
- Nov 6, 2026CVE-2026-77709 SonicWall SonicOS: heap buffer overflow
- Nov 6, 2026CVE-2026-77708 SonicWall SonicOS: stack buffer overflow
- Nov 6, 2026CVE-2026-82308 SonicWall SonicOS: heap buffer overflow
Questions about CVE-2020-5142
Is CVE-2020-5142 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 15:09 UTC. FIRST's EPSS gives it a 1.25% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of SonicWall SonicOS are affected by CVE-2020-5142?
SonicOS SonicOS 6.5.4.7-79n and earlier, SonicOS SonicOS 5.9.1.7-2n and earlier, SonicOS SonicOS 5.9.1.13-5n and earlier, SonicOS SonicOS 6.5.1.11-4n and earlier, SonicOS SonicOS 6.0.5.3-93o and earlier, SonicOS SonicOSv 6.5.4.4-44v-21-794 and earlier and 1 more, per the CVE record by sonicwall. The tables above give every range the sources list.
Which version fixes CVE-2020-5142?
None of the sources (the CVE record, the NVD and GitHub's reviewed advisories) lists a fixed version yet. Check the vendor's advisory in the references.
How severe is CVE-2020-5142?
Medium (6.1, CVSS 3.1, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2020-5142?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.