Home / QNAP Systems Inc. / QuTS hero / CVE-2021-38674
CVE-2021-38674: is it exploited, and which versions of QNAP Systems Inc. QuTS hero are affected and fixed?
CVE-2021-38674 is a cross-site scripting (XSS) vulnerability in QNAP Systems Inc. QuTS hero. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 16:09 UTC). Affected: QuTS hero before h4.5.4.1771 build 20210825, QTS before 4.5.4.1787 build 20210910 and QuTScloud before c4.5.7.1864 (CVE record by qnap). Fixed in h4.5.4.1771 build 20210825, 4.5.4.1787 build 20210910 and c4.5.7.1864 (CVE record by qnap). Severity: Medium (4.2, CVSS 3.1, from qnap).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 16:09 UTC, CVE record November 28, 2026, 20:07 UTC and NVD November 19, 2026, 07:52 UTC.
What is CVE-2021-38674?
Reflected XSS Vulnerability in TFTP
A cross-site scripting (XSS) vulnerability has been reported to affect QTS, QuTS hero and QuTScloud. If exploited, this vulnerability allows remote attackers to inject malicious code. We have already fixed this vulnerability in the following versions of QTS, QuTS hero and QuTScloud: QuTS hero h4.5.4.1771 build 20210825 and later QTS 4.5.4.1787 build 20210910 and later QuTScloud c4.5.7.1864 and later
From the CVE record by qnap, last updated September 16, 2024, 20:07 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| QNAP Systems Inc. | QuTS hero | before h4.5.4.1771 build 20210825 | h4.5.4.1771 build 20210825 |
| QNAP Systems Inc. | QTS | before 4.5.4.1787 build 20210910 | 4.5.4.1787 build 20210910 |
| QNAP Systems Inc. | QuTScloud | before c4.5.7.1864 | c4.5.7.1864 |
As the CVE record by qnap states it, last updated September 16, 2024. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| qnap | qts | before 4.5.4.1787 | operating system |
| qnap | quts hero | before h4.5.4.1771 | operating system |
| qnap | qutscloud | before c4.5.7.1864 | operating system |
NVD analysis (status Modified), last modified June 17, 2026, 04:02 UTC.
How severe is CVE-2021-38674?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 4.2 | CVSS 3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N | qnap |
| Medium 6.1 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N | NVD |
| Medium 4.3 | CVSS 2.0 | AV:N/AC:M/Au:N/C:N/I:P/A:N | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2021-38674 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 0.66% probability of exploitation activity in the next 30 days, percentile 52.9 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-79 Improper Neutralization of Input During Web Page Generation
How do I fix it? (from the CVE record)
We have already fixed this vulnerability in the following versions of QuTS hero, QTS, QuTScloud: QuTS hero h4.5.4.1771 build 20210825 and later QTS 4.5.4.1787 build 20210910 and later QuTScloud c4.5.7.1864 and later
Where are the vendor advisories and references?
- https://www.qnap.com/en/security-advisory/qsa-21-63 x_refsource_MISC
Who found and reported it?
- Tony Martin, a security researcher (finder)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- August 13, 2021
- Published
- January 7, 2022, 01:15 UTC
- CVE record updated
- September 16, 2024, 20:07 UTC by qnap
- NVD
- Modified, last modified June 17, 2026, 04:02 UTC
- Last checked
- CVE list November 28, 2026, 20:07 UTC; NVD November 19, 2026, 07:52 UTC; KEV December 3, 2026, 16:09 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect QuTS hero?
- Apr 17, 2021CVE-2020-2509 QNAP Systems Inc. QTS: command injection exploited
- Jun 10, 2026CVE-2026-24719 QNAP Systems Inc. QTS: OS command injection
- Jun 10, 2026CVE-2026-24717 QNAP Systems Inc. QTS: path traversal (reading or writing files outside the intended folder)
- Jun 10, 2026CVE-2026-24716 QNAP Systems Inc. QTS: NULL pointer dereference (crash)
- Jun 10, 2026CVE-2026-22893 QNAP Systems Inc. QTS: OS command injection
- Jun 10, 2026CVE-2025-66281 QNAP Systems Inc. QTS: NULL pointer dereference (crash)
- Jun 10, 2026CVE-2025-66280 QNAP Systems Inc. QTS: integer overflow
- Jun 10, 2026CVE-2025-66279 QNAP Systems Inc. QTS: OS command injection
Questions about CVE-2021-38674
Is CVE-2021-38674 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 16:09 UTC. FIRST's EPSS gives it a 0.66% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of QNAP Systems Inc. QuTS hero are affected by CVE-2021-38674?
QuTS hero before h4.5.4.1771 build 20210825, QTS before 4.5.4.1787 build 20210910 and QuTScloud before c4.5.7.1864, per the CVE record by qnap. The tables above give every range the sources list.
Which version fixes CVE-2021-38674?
h4.5.4.1771 build 20210825, 4.5.4.1787 build 20210910 and c4.5.7.1864, per the CVE record by qnap. Check the vendor's advisory before you rely on it.
How severe is CVE-2021-38674?
Medium (4.2, CVSS 3.1, from qnap). The severity table above shows each score with its source.
Where is the official record of CVE-2021-38674?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.