Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain QNAP admin account
-
DeliveryInject script into Network & Virtual Switch
-
ExploitSecond admin views page
-
ExecutionScript executes in admin browser
-
ImpactHijack authenticated session context
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires the attacker to already possess a QNAP administrator account (PR:H) on a device running the Network & Virtual Switch component under QTS, QuTS hero, or QuTS cloud, and it additionally requires a victim to interact with the injected content (UI:P) - i.e., another administrator must load the page containing the stored payload for the script to execute. These two factors (pre-existing admin authentication plus required victim interaction) substantially limit real-world exploitability and confine impact primarily to multi-administrator deployments. Fixed in QTS 5.1.8.2823/20240712 and 5.2.1.2930/20241025, QuTS hero h5.1.8.2823/20240712 and h5.2.1.2929/20241025, and QuTS cloud c5.2.4.3041/20250211; unpatched versions below these are affected. |
| Impact | This is a low-priority, high-privilege issue despite its network attack vector. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:H/UI:P/VC:N/VI:N/VA:N/SC:H/SI:H/SA:N, base 2.2) makes the barrier explicit: PR:H means the attacker must already hold an administrator account, and UI:P means a victim must interact with the injected content for it to fire. The vendor's own description confirms this ('If a remote attacker gains an administrator account'), so the two independent signals agree. There is no EPSS score, no CISA KEV listing, and no POC referenced in the provided data - and the embedded CVSS carries E:U (Exploit Unproven), reinforcing that no exploitation has been observed. The practical risk is largely self-contained: an attacker who already has admin on a QNAP NAS has far more direct paths to impact than a stored XSS, so the real value of this flaw is narrow (e.g., cross-admin session attacks in multi-admin deployments or privilege-boundary edge cases). Net assessment: genuine but low-severity; prioritize routine patching, not emergency response. Note one internal tension worth flagging - the input vector rates subsequent-system confidentiality and integrity as High (SC:H/SI:H) while vulnerable-system impact is None, which is atypically high for an admin-triggered XSS and should be verified against QNAP's advisory. |
| Exploit ScenarioDerived | An attacker who has already obtained (or socially engineered access to) a QNAP administrator account injects a malicious script payload into a Network & Virtual Switch field. When another administrator later views the affected page, the stored script executes in their browser session, potentially hijacking their authenticated UI context. No public exploit code was identified, and exploitation still depends on victim interaction (UI:P). |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 15, 2026
Stored cross-site scripting in QNAP's Network & Virtual Switch component, shipped with QTS, QuTS hero, and QuTS cloud, lets an attacker who already holds a QNAP administrator account inject malicious script into the management interface, which then executes in the browser of another administrator who loads the affected page. Exploitation therefore requires two preconditions that are both confirmed by the CVSS vector (PR:H and UI:P): valid administrative credentials and victim interaction, which confines realistic impact to multi-administrator deployments where attackers can reach an already-authenticated peer. No public exploit code and no confirmed active exploitation were identified at time of analysis, and the CVSS 4.0 base score is only 2.2, so this is a low-priority, post-compromise hardening issue rather than an externally exploitable entry point.
RemediationAI
Vendor-released patches are available and should be applied: upgrade to Network & Virtual Switch in QTS 5.1.8.2823 build 20240712 or later, or QTS 5.2.1.2930 build 20241025 or later; QuTS hero h5.1.8.2823 build 20240712 or later, or h5.2.1.2929 build 20241025 or later; and QuTS cloud c5.2.4.3041 build 20250211 or later - see the vendor release notes at https://www.qnap.com/en/release-notes/qts/5.1.8.2823/20240712, https://www.qnap.com/en/release-notes/qts/5.2.1.2930/20241025, https://www.qnap.com/en/release-notes/quts_hero/h5.1.8.2823/20240712, https://www.qnap.com/en/release-notes/quts_hero/h5.2.1.2929/20241025, and https://www.qnap.com/en/release-notes/qutscloud/c5.2.4.3041/20250211. Because exploitation requires an existing administrator account, the most effective compensating controls are administrative rather than network-level: reduce administrator accounts to the minimum needed, avoid shared or generic admin logins (the trade-off is added operational overhead for delegation and audit), enforce unique credentials with MFA on the QNAP management interface, restrict administrative UI access to a trusted management VLAN or VPN rather than the public internet (which removes remote reachability at the cost of requiring jump-host access), and monitor for unexpected administrative changes to network configuration. Disabling Network & Virtual Switch entirely is generally not a viable workaround because it is a core networking component of QTS and QuTS hero, so patching should be prioritized over disabling; there is no vendor-documented configuration toggle that fully mitigates the stored XSS.
Affected VersionsENISA
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The flaw is an instance of CWE-79 (Improper Neutralization of Input During Web Page Generation, i.e. cross-site scripting) in the web-based management UI of the Network & Virtual Switch application, the QNAP component responsible for configuring network interfaces, virtual switches, VLANs and related network services across QTS, QuTS hero, and QuTS cloud. Because the injected payload is stored and rendered in a page that only authenticated administrators can open, the CVSS 4.0 vector assigns PR:H and UI:P while showing no direct impact to the vulnerable system itself (VC:N/VI:N/VA:N) and instead recording high subsequent-system impact (SC:H/SI:H) - the classic XSS pattern in which the real victim is the administrator's browser session, not the NAS daemon. The independent assessment maps the same weakness to CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N, agreeing that the scope-changed browser context is where the confidentiality and integrity loss occurs. The root cause is inadequate output encoding/sanitization of administrator-supplied fields before they are written into the Network & Virtual Switch web pages.
Know when Qnap gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:P/VC:N/VI:N/VA:N/SC:H/SI:H/SA:N
Attacker needs an admin account (PR:H) and a victim must view the payload (UI:R); stored XSS crosses the browser trust boundary (S:C) with limited C/I impact and no availability effect.
Primary rating from Vendor (qnapsecurity).
CVSS VectorVendor: qnapsecurity
Lifecycle Timeline
2DescriptionCVE.org
A cross-site scripting (XSS) vulnerability has been reported to affect Network & Virtual Switch. If a remote attacker gains an administrator account, they can then exploit the vulnerability to inject malicious code.
We have already fixed the vulnerability in the following version: Network & Virtual Switch in QTS 5.1.8.2823 build 20240712 and later Network & Virtual Switch in QTS 5.2.1.2930 build 20241025 and later Network & Virtual Switch in QuTS cloud c5.2.4.3041 build 20250211 and later Network & Virtual Switch in QuTS hero h5.1.8.2823 build 20240712 and later Network & Virtual Switch in QuTS hero h5.2.1.2929 build 20241025 and later
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
GNU Bash through 4.3 processes trailing strings after function definitions in the values of environment variables, which
GNU Bash through 4.3 bash43-025 processes trailing strings after certain malformed function definitions in the values of
QNAP QTS before 4.2.4 Build 20170313 allows attackers to execute arbitrary commands via unspecified vectors. Rated criti
QNAP QTS before 4.2.4 Build 20170313 allows attackers to gain administrator privileges and obtain sensitive information
QNAP has patched a remote code execution vulnerability affecting the QTS Media Library in all versions prior to QTS 4.2.
QNAP QTS before 4.2.4 Build 20170313 allows attackers to gain administrator privileges and execute arbitrary commands vi
Exposure of Private Information in QNAP Q'center Virtual Appliance version 1.7.1063 and earlier could allow authenticate
QNAP QTS before 4.2.4 Build 20170313 allows local users to obtain sensitive Domain Administrator password information by
This command injection vulnerability in QTS allows attackers to run arbitrary commands in the compromised application. R
Command injection vulnerability in change password of QNAP Q'center Virtual Appliance version 1.7.1063 and earlier could
An improper authorization vulnerability has been reported to affect QNAP NAS running HBS 3 (Hybrid Backup Sync. Rated cr
This external control of file name or path vulnerability allows remote attackers to access or modify system files. Rated
EUVD-2026-101872
GHSA-wqcf-pwr4-95x6
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB