CVE-2021-26829 is a stored cross-site scripting flaw in the system_settings.shtm page of OpenPLC ScadaBR, an open-source SCADA and HMI server. A logged-in user can save script that runs in the browser of every operator who opens the HMI. NVD scores it 5.4. CISA KEV has listed it since 2025-11-28 after attackers used it to deface an HMI.
Vulnerability summary
CVSS base score
5.4
Medium severity
EPSS score (FIRST)
47.8%
Probability of exploitation in the wild in the next 30 days
CISA KEV catalog
Yes
Listed as known exploited
Published
Vulnerability ID: CVE-2021-26829 · Source: NVD
Affected components
| Component | CPE | Version range |
|---|---|---|
| OpenPLC ScadaBR (Linux build) | cpe:2.3:a:scadabr:scadabr:*:*:*:*:*:*:*:* | Through 0.9.1 (NVD); ScadaBR 1.2 (2021-09-07) lists security fixes for the forum report the CVE record cites |
| OpenPLC ScadaBR (Windows build) | cpe:2.3:a:scadabr:scadabr:*:*:*:*:*:*:*:* | Through 1.12.4 (NVD) |
What does this mean for affected devices?
NVD describes CVE-2021-26829 as follows: "OpenPLC ScadaBR through 0.9.1 on Linux and through 1.12.4 on Windows allows stored XSS via system_settings.shtm". NVD gives its own Primary CVSS v3.1 score of 5.4 (CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N) and NVD CVSS v2 3.5, with CWE-79. CISA-ADP gives the same 5.4. MITRE published the record on 2021-06-11 (NVD, CVE record).
Why does a medium-score XSS matter on an HMI?
ScadaBR is a web-based SCADA and HMI server: operators watch and control the process through it in a browser. A script stored in the system settings is shown to everyone who loads the affected pages, including the login page. Forescout Vedere Labs' report of 2025-10-09 describes a group calling itself TwoNet attacking Forescout's decoy water-treatment plant in September 2025. The group used CVE-2021-26829 to change the HMI login page text so that a pop-up appeared for every visitor. With the same HMI access it also removed PLC data sources and changed setpoints. The score is moderate, but on an HMI the flaw is a defacement and deception tool. The companion flaw CVE-2021-26828 gives code execution on the same server.
Is there a fixed version?
The ScadaBR project has published no security advisory. Its ScadaBR 1.2 release notes of 2021-09-07 list fixes for security vulnerabilities and link to the forum report that the CVE record cites. As of 2026-11-25, 1.2 is the newest release in the project's GitHub repository. The CISA KEV entry points to the fork Scada-LTS, whose pull request 3211 ("CVE-2021-26829 Mitigation Guidance [System settings]") was merged on 2025-10-31 to escape the settings fields. CISA's required action is "Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable." Upgrade, remove default accounts and keep the HMI on a segmented network, as described in OT/ICS security for small manufacturers.
Is CVE-2021-26829 exploited?
Yes. CISA added it to the KEV catalog on 2025-11-28 (due 2025-12-19; known ransomware campaign use: Unknown). It is still listed as of 2026-11-25 in catalog version 2026.11.24 (CISA KEV). FIRST EPSS gives 0.47836, the 98.87th percentile, in the 2026-11-24 dataset (FIRST EPSS). KEV and EPSS vulnerability prioritization explains why a KEV listing outranks a CVSS 5.4 score.
Evidence
- NVD: Analyzed; OpenPLC ScadaBR through 0.9.1 on Linux and through 1.12.4 on Windows allows stored XSS via system_settings.shtm; NVD Primary CVSS v3.1 5.4 AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N; NVD Primary CVSS v2 3.5; CISA-ADP Secondary 5.4; CWE-79; CPE scadabr:scadabr <= 0.9.1 and <= 1.12.4; published 2021-06-11; read 2026-11-25. — NVD
- CVE record: PUBLISHED, CNA MITRE, 2021-06-11; CISA-ADP CVSS 3.1 5.4, SSVC exploitation active, KEV dateAdded 2025-11-28. — CVE.org
- Forescout Vedere Labs, 2025-10-09: TwoNet attacked a decoy water treatment plant HMI in September 2025, exploited CVE-2021-26829 to change the HMI login page description so a pop-up alert appeared, deleted connected PLCs as data sources and changed setpoints. — Forescout
- ScadaBR 1.2 release on GitHub, 2021-09-07: release notes list security vulnerability fixes, linking the forum report thread; latest release as of 2026-11-25. — ScadaBR GitHub
- Scada-LTS PR 3211 'CVE-2021-26829 Mitigation Guidance [System settings]', branch fix/#3167_Fixed_escaping_fields, merged 2025-10-31. — Scada-LTS GitHub
- KEV catalog 2026.11.24: OpenPLC ScadaBR cross-site scripting via system_settings.shtm, dateAdded 2025-11-28, due 2025-12-19, required action 'Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.', knownRansomwareCampaignUse Unknown, CWE-79, notes link Scada-LTS PR 3211; checked 2026-11-25. — CISA KEV
- EPSS 0.47836, percentile 0.98872, dataset 2026-11-24, read 2026-11-25. — FIRST EPSS

Related advisories
Sources
Frequently asked questions
Which ScadaBR versions are affected by CVE-2021-26829?
NVD lists OpenPLC ScadaBR through 0.9.1 on Linux and through 1.12.4 on Windows. The stored XSS is in the system_settings.shtm page and needs an authenticated account to plant the script (per NVD).
How was CVE-2021-26829 used by attackers?
Forescout reported that the group TwoNet used it in September 2025 to deface the login page of a decoy water-treatment HMI with a pop-up. During the same intrusion the group deleted PLC data sources and changed setpoints (per Forescout Vedere Labs, 2025-10-09).
How do I fix CVE-2021-26829?
Move to ScadaBR 1.2 (2021-09-07), whose release notes list security fixes for the reported issues. Scada-LTS users need a build that includes pull request 3211, merged 2025-10-31. Remove default accounts and keep the HMI off the internet. CISA says to discontinue use if no mitigation is available (per ScadaBR, Scada-LTS and CISA KEV).
What is the CVSS score of CVE-2021-26829?
NVD's Primary CVSS v3.1 score is 5.4 (medium), vector AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N, and NVD CVSS v2 is 3.5. CISA-ADP gives the same 5.4. The weakness is CWE-79. As of 2026-11-25 EPSS was 0.47836, the 98.87th percentile, in the 2026-11-24 dataset (per NVD and FIRST EPSS).
Questions about this page?