CVE-2021-38674: QNAP QTS, QuTS hero and QuTScloud: cross-site scripting (XSS) vulnerability
This QNAP advisory covers CVE-2021-38674. Related products: QTS, QuTS hero, QuTScloud.
- CVE-2021-38674
Am I affected by CVE-2021-38674?
The source names the versions below but does not confirm which products they belong to. Check the QNAP advisory before you decide.
| Versions named | Fixed in |
|---|---|
| QuTS hero before h4.5.4.1771 build 20210825 | No fixed release on this branch listed by the vendor |
| QTS before 4.5.4.1787 build 20210910 | QTS: 4.5.4.1787 build 20210910, QuTScloud: c4.5.7.1864 |
| QuTScloud before c4.5.7.1864 | No fixed release on this branch listed by the vendor |
Also listed as fixed: QuTS hero: h4.5.4.1771 build 20210825
Official advisory · medium-confidence parse· fetched ·verify at source
Key facts
- Vendor rating
- Medium, CVSS 4.2
- CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N· base score 4.2, scored by qnapAttack vector: network. Attack complexity: high. Privileges required: none. User interaction: required. Scope: unchanged. Confidentiality impact: low. Integrity impact: low. Availability impact: none.- Weakness
- CWE-79 Cross-site Scripting (XSS)
- EPSS
- 0.66% chance of exploitation in the next 30 days (52nd percentile). FIRST EPSS, .
- CISA KEV
- Not listed (catalogue checked )
- Source published
- Source revised
- Listed by VulniPulse
- Record changed
Compiled by VulniPulse from the linked sources. How records are collected and checked.
Related products & platforms
Description
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
Text from the source record.
How to fix CVE-2021-38674
Upgrade to a fixed release named by QNAP:
- QuTS hero: h4.5.4.1771 build 20210825
- QTS: 4.5.4.1787 build 20210910
- QuTScloud: c4.5.7.1864
Vendor guidance
- Upgrade to a fixed release: QuTS hero: h4.5.4.1771 build 20210825, QTS: 4.5.4.1787 build 20210910, QuTScloud: c4.5.7.1864 or later.
End-of-life dates for QNAP QTS
CVE-2021-38674 questions
Is CVE-2021-38674 being exploited?
CISA does not list it in its Known Exploited Vulnerabilities catalog (checked ), and the QNAP advisory does not report exploitation. That is not proof it is unexploited.
Am I affected by CVE-2021-38674?
The source names the versions below but does not confirm which products they belong to. Check the QNAP advisory before you decide. The table above lists each version.
How do I fix CVE-2021-38674?
Upgrade to a fixed release QNAP lists for your version: QuTS hero: h4.5.4.1771 build 20210825, QTS: 4.5.4.1787 build 20210910, QuTScloud: c4.5.7.1864. The advisory's own guidance is above.
How likely is CVE-2021-38674 to be exploited?
FIRST's EPSS model gives it a 0.66% chance of exploitation in the next 30 days (52nd percentile among scored CVEs, model date ). It is a forecast, not a report of attacks.
How serious is CVE-2021-38674?
QNAP rates it medium, CVSS 4.2 out of 10.
More QNAP advisories
CVE-2023-39298Sep 6, 2024several QNAP operating system versions: missing authorization vulnerabilityCVE-2024-27124Apr 26, 2024several QNAP operating system versions: OS command injection vulnerabilityCVE-2023-51365Apr 26, 2024several QNAP operating system versions: path traversal vulnerabilityCVE-2025-33032Aug 29, 2025several QNAP operating system versions: path traversal vulnerabilityCVE-2025-30271Aug 29, 2025several QNAP operating system versions: path traversal vulnerabilityCVE-2024-38638Mar 7, 2025several QNAP operating system versions: out-of-bounds write vulnerability
Get an email when QNAP QTS publishes the next one.
See QNAP QTS's last 90 days first. Live alerts for one product are free for life; every vendor is US$5 a month with Pro (first month US$1).