CVE-2023-45222 is a cross-site scripting flaw in the WebGUI of Westermo's WeOS switch and router operating system: an attacker logged in with an administrator account can inject JavaScript through the "autorefresh" parameter. Westermo lists WeOS 4 up to 4.33.2 and WeOS 5 up to 5.20.1 as affected and names WeOS 5.22.0 as the fix; WeOS 4 has workarounds only. NVD, CISA and Westermo all score CVSS v3.1 5.4.
Need to know whether your firmware ships an affected version? Get a firmware scan report or contact us.
How severe is CVE-2023-45222?
CVSS base score
5.4
Medium severity
EPSS score (FIRST)
0.3%
Probability of exploitation in the wild in the next 30 days
CISA KEV catalog
No
Not listed
Published
Vulnerability ID: CVE-2023-45222 · Source: NVD

Which products and versions does CVE-2023-45222 affect?
| Component | CPE | Version range |
|---|---|---|
| Westermo Lynx L206-F2G1 | cpe:2.3:o:westermo:l206-f2g_firmware:4.24:*:*:*:*:*:*:* | firmware 4.24 (ICSA-24-023-04; NVD CPE) |
| Westermo devices running WeOS 4 | — | up to and including 4.33.2; no WeOS 4 fix named, workarounds only (Westermo-24-01) |
| Westermo devices running WeOS 5 | — | up to and including 5.20.1; fixed in 5.22.0 or later (Westermo-24-01) |
What does CVE-2023-45222 mean for affected devices?
CISA disclosed the flaw on 2024-01-23 in ICS advisory ICSA-24-023-04, "Westermo Lynx 206-F2G", for the Lynx model L206-F2G1 on firmware 4.24: "An attacker with access to the web application that has the vulnerable software could introduce arbitrary JavaScript by injecting a cross-site scripting payload into the "autorefresh" parameter" (CISA CSAF ICSA-24-023-04). The advisory covers eight CVEs reported by Aarón Flecha Menéndez, Iván Alonso Álvarez and Víctor Bello Cuevas, and CISA reported no known public exploitation. At the time, CISA said the cross-site scripting flaws "will be mitigated in a future report".
What does Westermo's advisory add?
Westermo-24-01, first released on 2024-02-23 and revised on 2024-11-11, groups this CVE with three other WebGUI cross-site scripting flaws (CVE-2023-40143, CVE-2023-42765 and CVE-2023-45227) and widens the scope from one Lynx model to WeOS in general:
| Operating system | Affected | Update |
|---|---|---|
| WeOS 4 | up to and including 4.33.2 | none named; workarounds |
| WeOS 5 | up to and including 5.20.1 | 5.22.0 or later, from Westermo support |
Westermo states that for all four CVEs the attacker "must first be authenticated by using an administrator account" on the WebGUI, and that the injected script can change or access data transferred between the device and the client. Its workarounds are to limit web access from external interfaces, for example by disabling administrative WebGUI access on outward-facing interfaces, to limit administrator accounts to trusted parties, to follow password best practice for them, and to disable the WebGUI completely where possible.
How is CVE-2023-45222 scored?
NVD's Primary score is CVSS v3.1 5.4 (CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N), with user interaction required and a changed scope. CISA as CNA and Westermo give the same 5.4 with CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N. The weakness is CWE-79, and NVD's CPE lists only L206-F2G firmware 4.24; the CVE record was published on 2024-02-06 (NVD, CVE.org record).
What should WeOS owners do?
Move WeOS 5 devices to 5.22.0 or later; the Westermo WeOS guide tracks newer WeOS 5 releases that fix later flaws. On WeOS 4, apply Westermo's workarounds and review who holds administrator accounts, since only they can plant the script. Sibling pages from the same advisories: the SNMP username XSS CVE-2023-42765, the forward.0.domain XSS CVE-2023-40143, and from ICSA-24-023-04 the code injection CVE-2023-45735 and predictable CSRF token CVE-2023-38579.
CVE-2023-45222 is not in the CISA KEV catalog as of 2026-12-04 (catalog version 2026.12.04, 1,814 entries). FIRST EPSS gives it 0.00294, the 23.6th percentile, in the 2026-12-04 dataset (CISA KEV, FIRST EPSS).

How do the CVSS, EPSS and KEV signals for CVE-2023-45222 compare?
| Signal | Value for CVE-2023-45222 | Source | What it tells you |
|---|---|---|---|
| CVSS base score | 5.4 (Medium) | NVD | How severe the flaw is in its worst case, from 0.0 to 10.0; it says nothing about whether anyone is exploiting it. |
| EPSS probability | 0.3% | FIRST EPSS | The probability that the CVE is exploited in the wild in the next 30 days. |
| CISA KEV listing | Not listed as of 2026-12-04 | CISA KEV catalog | A listing means CISA has reliable evidence of exploitation in the wild; BOD 22-01 sets a remediation due date for US federal civilian agencies. |
| Published | 2024-02-06 | NVD | The date the CVE record was first published in NVD. |
How does the CVE-2023-45222 score change on your network?
A CVSS base score assumes the worst-case exposure. If the vulnerable interface on your device is reachable only from a local segment, or an attacker needs an account first, change those metrics below to see the re-scored base value. The FIRST CVSS v3.1 specification puts deployment-specific scoring in the Environmental metric group, so treat this as a quick what-if, not a replacement score.
Starting vector (matches the CVSS score above): CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Quoted vector: 5.4 (Medium)
Your re-score: 5.4 (Medium)
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

How do you check CVE-2023-45222 status from the command line?
These commands re-read the three public signals for CVE-2023-45222 (NVD, FIRST EPSS and the CISA KEV feed) so a build pipeline or a ticket can record the current values. They need curl and jq.
# NVD: CVSS metrics and record status (no API key: at most 5 requests per 30 s)
curl -s "https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2023-45222" \
| jq '.vulnerabilities[0].cve | {vulnStatus, metrics}'
# FIRST EPSS: today's exploitation probability and percentile
curl -s "https://api.first.org/data/v1/epss?cve=CVE-2023-45222" | jq '.data[0]'
# CISA KEV: prints the catalog entry, or nothing if the CVE is not listed
curl -s https://www.cisa.gov/sites/default/files/feeds/known_exploited_vulnerabilities.json \
| jq --arg id CVE-2023-45222 '.vulnerabilities[] | select(.cveID == $id)'Which sources back each CVE-2023-45222 claim?
- NVD (read 2026-12-04): status Modified; published 2024-02-06; Primary CVSS v3.1 5.4 CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N; ICS-CERT Secondary 5.4 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N; CWE-79; CPE westermo l206-f2g_firmware 4.24 on l206-f2g hardware. — NVD
- CVE record (checked 2026-12-04): state PUBLISHED, CNA ICS-CERT (CISA), published 2024-02-06, title Westermo Lynx Cross-site Scripting; affected L206-F2G1, 4.24; CVSS v3.1 5.4 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N. — CVE.org
- CISA ICSA-24-023-04 CSAF (2024-01-23): Westermo Lynx L206-F2G1 firmware 4.24; CVE-2023-45222 XSS in the autorefresh parameter, CWE-79, 5.4; eight CVEs; XSS to be mitigated in a future report; reporters Aarón Flecha Menéndez, Iván Alonso Álvarez, Víctor Bello Cuevas; no known public exploitation. — CISA ICSA-24-023-04
- Westermo-24-01 (2024-02-23, revised 2024-11-11): CVE-2023-40143, -42765, -45222, -45227; attacker must be authenticated with an administrator account; WeOS 4 to and including 4.33.2 and WeOS 5 to and including 5.20.1 affected; 5.4 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N; workarounds; WeOS 5 update to 5.22.0 or later. — Westermo-24-01
- Not in the CISA KEV catalog, catalog version 2026.12.04, 1,814 entries, checked 2026-12-04. — CISA KEV
- EPSS 0.00294, percentile 0.23626, dataset 2026-12-04, read 2026-12-04. — FIRST EPSS

Advisories in the same weakness class as CVE-2023-45222
Sources for CVE-2023-45222
CVE-2023-45222: frequently asked questions
Which WeOS version fixes CVE-2023-45222?
WeOS 5.22.0 or later, available from Westermo support, per Westermo-24-01. WeOS 5 up to and including 5.20.1 is affected. For WeOS 4, up to and including 4.33.2, Westermo names no fixed release, only workarounds.
Does an attacker need to log in?
Yes. Westermo says the attacker must first be authenticated with an administrator account on the WebGUI to inject the payload into the autorefresh parameter. NVD, CISA and Westermo all score low privileges required.
What can WeOS 4 owners do?
Westermo's workarounds are to disable administrative WebGUI access on outward-facing interfaces, limit administrator accounts to trusted parties, use strong passwords for them, and disable the WebGUI completely where possible.
Is CVE-2023-45222 in the CISA KEV catalog?
No, not as of 2026-12-04 (catalog version 2026.12.04, 1,814 entries). FIRST EPSS rates it 0.00294 (23.6th percentile) in the 2026-12-04 dataset, and CISA reported no known public exploitation.
Questions about this page?