Security Advisory

CVE-2021-22813: APC NMC XSS via Edit Policy File URL

Last updated:
  • CVE-2021-22813

CVE-2021-22813 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 and pointing to an edit policy file runs the attacker's script. It affects UPS cards and also Rack PDUs and transfer switches with embedded NMCs. NVD scores CVSS v3.1 6.1 and Schneider 6.8.

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

How severe is CVE-2021-22813?

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-22813 · 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-22813 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-22813 mean for affected devices?

The CVE record, published by Schneider Electric on 2022-01-28, says the CWE-79 flaw "could cause arbritrary script execution when a privileged account clicks on a malicious URL specifically crafted for the NMC pointing to an edit policy file." It is the counterpart of CVE-2021-22810, where the crafted URL points to a delete policy file. No CNA score is in the record. 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); the CPEs cover 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's notice scores 6.8 (CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N), higher on confidentiality and integrity impact, lower on ease of attack (NVD, CVE.org record).

Which power distribution products need an update?

SEVD-2021-313-03 version 2.0 of 2022-05-10 lists the power distribution products and their fixes:

Product Affected Fix
2G Metered/Switched Rack PDUs AP84xx, AP86xx, AP88xx, AP89xx (embedded NMC2) AOS 6.9.6 and prior RPDU2G application 7.0.6 or later, downloadable
2G Rack PDUs APDU99xx (embedded NMC3) AOS 1.4.0 and prior NMC3 RPDU application 1.2.0.2 with AOS 1.5.0
Galaxy RPP (GRPPIP2X84) NMC2 AOS 6.9.6 and prior RPP application 7.0.4 or later, downloadable
InfraStruxure PDUs: X84P, XPDU, XRDP, PMM, XRDP2G NMC2 AOS 6.9.6 and prior 7.0.4 or later, from local support
Rack Automatic Transfer Switches AP44xx (ATS4G) NMC2 AOS 6.9.6 and prior ATS4G application 7.0.4 or later, downloadable

UPS cards are fixed by the NMC2 SUMX, SY and 3-phase applications 7.0.4 and the NMC3 SU and SY applications 1.5. CISA published the original notice as ICSA-21-313-01 on 2021-11-09; it reported no known public exploits. Schneider credits Chua Wei Kiat and Thanh Nguyen of Fortinet's FortiGuard Labs.

What should asset owners do?

Update Rack PDUs and transfer switches along with the UPS cards: the notice lists the same flaw for their embedded NMCs. Note that 2G Rack PDUs on NMC2 need 7.0.6, not 7.0.4. Until then, Schneider asks NMC users not to trust links from unverified sources and to secure the browser workstation. Rack PDUs on NMC2 and NMC3 also carry the security token exposure CVE-2021-22825, fixed by the same RPDU2G 7.0.6 and RPDU 1.2.0.2 releases. The other XSS paths are CVE-2021-22811, CVE-2021-22812 and CVE-2021-22814. The APC UPS and NMC guide lists all NMC and Rack PDU fixes.

CVE-2021-22813 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-22813 compare?

CVE-2021-22813 signals as recorded on this page, last checked .
SignalValue for CVE-2021-22813SourceWhat 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-22813 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-22813 status from the command line?

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

Which sources back each CVE-2021-22813 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 pointing to an edit policy file. — CVE.org
  • Schneider SEVD-2021-313-03 V2.0 (2022-05-10 update added remediations for remaining affected products): CVE-2021-22813 CWE-79, 6.8; Rack PDUs AP84xx/86xx/88xx/89xx NMC2 AOS 6.9.6 and prior fixed in RPDU2G 7.0.6; APDU99xx NMC3 AOS 1.4.0 and prior fixed in RPDU 1.2.0.2 with AOS 1.5.0; Galaxy RPP, X84P, XPDU, XRDP, PMM, XRDP2G and ATS4G on NMC2 AOS 6.9.6 and prior fixed in 7.0.4; mitigations; credits Fortinet FortiGuard Labs. — Schneider Electric SEVD-2021-313-03
  • CISA ICSA-21-313-01 CSAF (2021-11-09): CVE-2021-22813, 6.8; 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.56997, dataset 2026-12-04, read 2026-12-04. — FIRST EPSS

Is your firmware affected by CVE-2021-22813?

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

Sources for CVE-2021-22813

  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-22813 (CNA: Schneider Electric)
  5. CISA KEV
  6. FIRST EPSS

CVE-2021-22813: frequently asked questions

Which Rack PDU firmware fixes CVE-2021-22813?

RPDU2G application 7.0.6 or later for 2G Rack PDUs with embedded NMC2 (AP84xx, AP86xx, AP88xx, AP89xx), and the NMC3 RPDU application 1.2.0.2 with AOS 1.5.0 for APDU99xx, per SEVD-2021-313-03.

How does it differ from CVE-2021-22810?

Both need a privileged user to click a crafted URL. In CVE-2021-22813 the URL points to an edit policy file, in CVE-2021-22810 to a delete policy file. The scores, affected versions and fixes are the same.

Are transfer switches affected?

Yes. Rack Automatic Transfer Switches AP44xx with embedded NMC2 (ATS4G) on AOS 6.9.6 and prior are listed; the ATS4G application 7.0.4 or later fixes them.

Is CVE-2021-22813 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.