CVE-2023-42765 is a cross-site scripting flaw in the web interface of Westermo's WeOS: an attacker who has an administrator login can inject JavaScript through the SNMP username setting, which then runs in the browser of users who open the page. Westermo-24-01 lists WeOS 4 up to 4.33.2 and WeOS 5 up to 5.20.1; WeOS 5.22.0 fixes it. NVD, CISA and Westermo score it 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-42765?
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-42765 · Source: NVD

Which products and versions does CVE-2023-42765 affect?
| Component | CPE | Version range |
|---|---|---|
| Westermo Lynx L206-F2G1 (L206-F2G) firmware | cpe:2.3:o:westermo:l206-f2g_firmware:4.24:*:*:*:*:*:*:* | WeOS 4.24 (NVD CPE, CISA ICSA-24-023-04) |
| Westermo WeOS 4 | — | up to and including 4.33.2 (Westermo-24-01); no WeOS 4 fix named |
| Westermo WeOS 5 | — | up to and including 5.20.1; fixed in 5.22.0 (Westermo-24-01) |
What does CVE-2023-42765 mean for affected devices?
CISA first published CVE-2023-42765 on 2024-01-23 in 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 "could introduce arbitrary JavaScript by injecting a cross-site scripting payload into the "username" parameter in the SNMP configuration" (CISA CSAF ICSA-24-023-04). The weakness is CWE-79. CISA credits Aarón Flecha Menéndez, Iván Alonso Álvarez and Víctor Bello Cuevas and reported no known public exploitation.
Westermo's advisory Westermo-24-01, first released on 2024-02-23 and revised on 2024-11-11, covers this CVE together with three other cross-site scripting CVEs: CVE-2023-40143, CVE-2023-45222 and CVE-2023-45227. Westermo states a common requirement for all four: the attacker "must first be authenticated by using an administrator account" on the WebGUI. Once a payload is stored, Westermo says, the injected script can change or access data transferred between the device and the client.
Which WeOS versions are affected and fixed?
| Operating system | Affected | Fixed |
|---|---|---|
| WeOS 4 | Up to and including 4.33.2 | No WeOS 4 release named |
| WeOS 5 | Up to and including 5.20.1 | 5.22.0 or later |
CISA's original advisory named only the L206-F2G1 on 4.24 and said the cross-site scripting flaws "will be mitigated in a future report"; Westermo's revision of 2024-11-11 widened the affected range and added the WeOS 5 fix.
How is it scored?
All three scorers give 5.4, with different vectors. 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), the usual shape for stored XSS, where a second user has to open the page. CISA, the CNA, scores CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N; Westermo's advisory gives CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N. NVD's CPE lists L206-F2G firmware 4.24 on L206-F2G hardware. The record was published on 2024-02-06 (NVD, CVE.org record).
What should WeOS owners do?
On WeOS 5, update to 5.22.0 or later from Westermo support. On WeOS 4, use Westermo's workarounds: limit web access from external interfaces, for example by disabling administrative WebGUI access on outward-facing interfaces; limit administrator accounts to trusted parties; follow password best practice for those accounts; and if possible disable the WebGUI entirely. Since only an administrator can plant the script, review who holds administrator accounts on each switch.
The sibling cross-site scripting flaw from the same advisory is CVE-2023-40143. Other ICSA-24-023-04 flaws with their own pages are the code injection flaw CVE-2023-45735 and the predictable CSRF token CVE-2023-38579. The Westermo WeOS vulnerabilities guide lists every WeOS advisory with its fixed release, and the input handling fix guide covers cross-site scripting in device web interfaces.
CVE-2023-42765 is not in the CISA KEV catalog as of 2026-12-04 (catalog version 2026.12.03, 1,811 entries). FIRST EPSS gives it 0.00294, the 23.7th percentile, in the 2026-12-03 dataset (CISA KEV, FIRST EPSS).

How do the CVSS, EPSS and KEV signals for CVE-2023-42765 compare?
| Signal | Value for CVE-2023-42765 | 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-42765 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-42765 status from the command line?
These commands re-read the three public signals for CVE-2023-42765 (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-42765" \
| 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-42765" | 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-42765 '.vulnerabilities[] | select(.cveID == $id)'Which sources back each CVE-2023-42765 claim?
- NVD (read 2026-12-04): status Modified; published 2024-02-06; Primary CVSS v3.1 5.4 AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N; CISA Secondary 5.4 CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N; CWE-79; CPE l206-f2g_firmware 4.24. — NVD
- Westermo-24-01 (2024-02-23, rev. 2024-11-11): four XSS CVEs, admin login required; WeOS 4 up to including 4.33.2, WeOS 5 up to including 5.20.1; 5.4 each; WeOS 5 fix 5.22.0; workarounds. — Westermo
- CISA ICSA-24-023-04 (2024-01-23): CWE-79, 5.4; "username" parameter in the SNMP configuration; Lynx L206-F2G1 on 4.24; XSS to be mitigated in a future report; no known public exploitation. — CISA CSAF
- CVE.org record: state PUBLISHED, assigner icscert, published 2024-02-06. — CVE.org
- Not in CISA KEV, catalog version 2026.12.03, 1,811 entries, checked 2026-12-04. — CISA KEV
- EPSS 0.00294, percentile 23.7, dataset 2026-12-03. — FIRST EPSS

Advisories in the same weakness class as CVE-2023-42765
Sources for CVE-2023-42765
CVE-2023-42765: frequently asked questions
Which WeOS release fixes CVE-2023-42765?
WeOS 5.22.0 or later for WeOS 5, according to Westermo-24-01. WeOS 5 up to and including 5.20.1 is affected. Westermo names no WeOS 4 release; WeOS 4 up to 4.33.2 relies on WebGUI workarounds.
Does an attacker need a login?
Yes. Westermo says the attacker must first authenticate with an administrator account on the WebGUI before the payload can be stored. The script then runs in the browser of users who open the affected page.
What can WeOS 4 owners do?
Disable administrative WebGUI access on outward-facing interfaces, limit administrator accounts to trusted parties with strong passwords, or disable the WebGUI entirely, as Westermo-24-01 recommends.
Is CVE-2023-42765 in the CISA KEV catalog?
No. It is not listed as of 2026-12-04 (catalog version 2026.12.03). FIRST EPSS gives it 0.00294, the 23.7th percentile, in the 2026-12-03 dataset.
Questions about this page?