Security Advisory

CVE-2021-22812: APC NMC XSS via Crafted NMC URL

Last updated:
  • CVE-2021-22812

CVE-2021-22812 is a cross-site scripting flaw in the web interface of APC Network Management Cards and NMC embedded devices: a privileged user who clicks a malicious URL crafted for the NMC runs the attacker's script in the card's web session. Beyond UPS cards, it reaches NMC2-based cooling, NetBotz and battery management units. NVD scores CVSS v3.1 6.1 and Schneider 6.8; NMC2 application 7.0.4 or later fixes it.

Need to know whether your firmware ships an affected version? Get a firmware scan report or contact us.

How severe is CVE-2021-22812?

CVSS base score

6.1

Medium severity

EPSS score (FIRST)

0.8%

Probability of exploitation in the wild in the next 30 days

CISA KEV catalog

No

Not listed

Published

Vulnerability ID: CVE-2021-22812 · Source: NVD

CVSS v3.1 severity rating scale: None 0.0, Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9, Critical 9.0 to 10.0
How a CVSS v3.1 base score maps to a severity rating. Source: FIRST CVSS v3.1 specification, section 5.

Which products and versions does CVE-2021-22812 affect?

ComponentCPEVersion range
APC Network Management Card 2 (AP9630, AP9631, AP9635 and variants) in 1-phase Smart-UPS, Symmetra and Galaxy 3500 UPSscpe:2.3:o:schneider-electric:network_management_card_2_firmware:*:*:*:*:*:*:*:*NMC2 AOS 6.9.8 and prior; fixed in the NMC2 SUMX and SY applications 7.0.4 or later (SEVD-2021-313-03)
APC Network Management Card 2 in 3-phase UPSs, Rack PDUs, Galaxy RPP, ATS, cooling, NetBotz, battery management and Micro Data Center productscpe:2.3:o:schneider-electric:network_management_card_2_firmware:*:*:*:*:*:*:*:*NMC2 AOS 6.9.6 and prior; fixed in the product's NMC2 application 7.0.4 or later (RPDU2G 7.0.6 for 2G Rack PDUs); several upgrades through Schneider support (SEVD-2021-313-03)
APC Network Management Card 3 (AP9640, AP9641, AP9643) and Rack PDUs with embedded NMC3 (APDU99xx)cpe:2.3:o:schneider-electric:network_management_card_3_firmware:*:*:*:*:*:*:*:*NMC3 AOS 1.4.2.1 and prior (cards), 1.4.0 and prior (APDU99xx); fixed in the NMC3 SU and SY applications 1.5 or later and the NMC3 RPDU application 1.2.0.2 with AOS 1.5.0 (SEVD-2021-313-03)

What does CVE-2021-22812 mean for affected devices?

Schneider Electric's CVE record of 2022-01-28 reads: "A CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability exists that could cause arbritrary script execution when a privileged account clicks on a malicious URL specifically crafted for the NMC." Its two siblings CVE-2021-22810 and CVE-2021-22813 tie the URL to a delete or edit policy file; this record names no specific page. The record has no CNA score; NVD's Primary metrics are CVSS v3.1 6.1 (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N) and CVSS v2 4.3 (AV:N/AC:M/Au:N/C:N/I:P/A:N), with CWE-79 and CPEs for NMC2 firmware up to 6.9.8 and 6.9.6 and NMC3 firmware up to 1.4.2.1 and 1.4.0. Schneider scores 6.8 (CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N) (NVD, CVE.org record).

Which non-UPS products carry the flaw?

SEVD-2021-313-03 also covers NMC embedded products outside the UPS range; version 2.0 of 2022-05-10 added remediations for the remaining affected ones. In the current notice, all of these run NMC2 AOS 6.9.6 or earlier and are fixed by their NMC2 application 7.0.4 or later:

Product group Examples in the notice How to get the fix
Cooling InRow ACRP, ACRD, ACRC, ACSC series; Ecoflair air economizer display; Uniflair SP, AM, LE DX and LEL perimeter cooling; Uniflair chiller displays; refrigerant distribution unit ACDA9xx Local Schneider support
Environmental monitoring NetBotz NBRK0250 (NB250) NB250 firmware download
Battery management AP9922 Battery Management System (BM4) Local Schneider support
Micro data center EcoStruxure Micro Data Center (MDC) Local Schneider support

UPS cards (NMC2 SUMX, SY and 3-phase applications 7.0.4, NMC3 SU and SY 1.5) and power distribution units (RPDU2G 7.0.6, NMC3 RPDU 1.2.0.2) are covered in the same notice. CISA's ICSA-21-313-01 of 2021-11-09 lists energy as the sector and reports no known public exploits. Schneider credits Chua Wei Kiat and Thanh Nguyen of Fortinet's FortiGuard Labs.

What should asset owners do?

Include cooling, NetBotz and battery management units in the NMC inventory, not only the UPSs. Ask Schneider support for the 7.0.4 applications where no download exists. Until the update, apply Schneider's mitigations: do not trust links from unverified sources, and secure the workstation used to manage the cards. The other XSS paths in the notice are CVE-2021-22810, CVE-2021-22811, CVE-2021-22813 and CVE-2021-22814. The APC UPS and NMC guide maps the NMC families, and OT security for small manufacturers covers network segmentation for plants with a small team.

CVE-2021-22812 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.0077, the 57.0th percentile, in the 2026-12-04 dataset (CISA KEV, FIRST EPSS).

Three signals on every advisory: CVSS says how severe the flaw is, EPSS gives the probability of exploitation in the wild in the next 30 days, and a CISA KEV listing means the flaw has been exploited in the wild
CVSS rates severity, EPSS estimates the likelihood of exploitation, and CISA KEV records exploitation seen in the wild. Source: FIRST EPSS; CISA KEV catalog.

How do the CVSS, EPSS and KEV signals for CVE-2021-22812 compare?

CVE-2021-22812 signals as recorded on this page, last checked .
SignalValue for CVE-2021-22812SourceWhat it tells you
CVSS base score6.1 (Medium)NVDHow severe the flaw is in its worst case, from 0.0 to 10.0; it says nothing about whether anyone is exploiting it.
EPSS probability0.8%FIRST EPSSThe probability that the CVE is exploited in the wild in the next 30 days.
CISA KEV listingNot listed as of 2026-12-04CISA KEV catalogA listing means CISA has reliable evidence of exploitation in the wild; BOD 22-01 sets a remediation due date for US federal civilian agencies.
Published2022-01-28NVDThe date the CVE record was first published in NVD.

How does the CVE-2021-22812 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:N/UI:R/S:C/C:L/I:L/A:N

Quoted vector: 6.1 (Medium)

Your re-score: 6.1 (Medium)

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

How to fix this class of issueThis advisory's weakness class is Cross-site scripting (XSS). Our practical guide covers how to detect, fix, verify and disclose it: How to fix SQL injection, XSS, resource exhaustion and deserialization flaws in embedded firmware.
From advisory to verified fix in four steps: read the advisory, find the affected component in the firmware SBOM, apply the fixed version or vendor mitigation, then re-scan the image to confirm the vulnerable version is gone
Read the advisory, find the component in your firmware SBOM, apply the fix, then re-scan to confirm it.

How do you check CVE-2021-22812 status from the command line?

These commands re-read the three public signals for CVE-2021-22812 (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-2021-22812" \
  | 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-2021-22812" | 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-2021-22812 '.vulnerabilities[] | select(.cveID == $id)'

Which sources back each CVE-2021-22812 claim?

  • NVD (read 2026-12-04): status Modified; published 2022-01-28; Primary CVSS v3.1 6.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N and v2 4.3 AV:N/AC:M/Au:N/C:N/I:P/A:N; CWE-79; CPEs network_management_card_2_firmware up to 6.9.8 and 6.9.6, network_management_card_3_firmware up to 1.4.2.1 and 1.4.0. — NVD
  • CVE record (checked 2026-12-04): state PUBLISHED, CNA Schneider Electric, published 2022-01-28; vendor/product n/a, no CNA metric; description: crafted URL specifically crafted for the NMC. — CVE.org
  • Schneider SEVD-2021-313-03 V2.0 (2022-05-10 update added remediations for remaining affected products): CVE-2021-22812 CWE-79, 6.8; cooling (InRow, Ecoflair, Uniflair, RDU ACDA9xx), NetBotz NBRK0250 (NB250), AP9922 BMS (BM4) and EcoStruxure Micro Data Center on NMC2 AOS 6.9.6 and prior, fixed in NMC2 application 7.0.4 or later; mitigations; credits Fortinet FortiGuard Labs. — Schneider Electric SEVD-2021-313-03
  • CISA ICSA-21-313-01 CSAF (2021-11-09): CVE-2021-22812, 6.8; sector Energy; no known public exploits specifically target these vulnerabilities. — CISA ICSA-21-313-01
  • Not in the CISA KEV catalog, catalog version 2026.12.04, 1,814 entries, checked 2026-12-04. — CISA KEV
  • EPSS 0.0077, percentile 0.56995, dataset 2026-12-04, read 2026-12-04. — FIRST EPSS

Is your firmware affected by CVE-2021-22812?

Advisories in the same weakness class as CVE-2021-22812

Sources for CVE-2021-22812

  1. NVD
  2. Schneider Electric SEVD-2021-313-03: APC Network Management Cards and NMC Embedded Devices (V2.0)
  3. CISA CSAF: ICSA-21-313-01 Schneider Electric NMC cards and Embedded Devices
  4. CVE.org record CVE-2021-22812 (CNA: Schneider Electric)
  5. CISA KEV
  6. FIRST EPSS

CVE-2021-22812: frequently asked questions

Are APC cooling units affected by CVE-2021-22812?

Yes. SEVD-2021-313-03 lists InRow, Ecoflair and Uniflair cooling products and the ACDA9xx refrigerant distribution unit with embedded NMC2 on AOS 6.9.6 and prior; the fix is the NMC2 cooling application 7.0.4 or later, obtained through local Schneider support.

Is NetBotz affected?

The NetBotz NBRK0250 environmental monitoring unit with embedded NMC2 (NB250) on AOS 6.9.6 and prior is listed, with NB250 firmware 7.0.4 or later as the fix.

What triggers the script?

A privileged NMC user has to click a malicious URL crafted for the card. Schneider does not tie this record to a specific page, unlike CVE-2021-22810 and CVE-2021-22813, which name delete and edit policy files.

Is CVE-2021-22812 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.0077 (57.0th percentile) in the 2026-12-04 dataset.