LiveActive security incident?Get immediate response
CVE Record

CVE-2021-34357: Reflected XSS Vulnerability in QmailAgent

A cross-site scripting (XSS) vulnerability has been reported to affect QNAP device running QmailAgent. If exploited, this vulnerability allows remote attackers to inject malicious code. We have already fixed this vulnerability in the following versions of QmailAgent: QmailAgent 3.0.2 ( 2021/08/25 ) and later

MediumCVSS 6.9Not KEV-listedUpdated
Glexia's TakeAutomated analysismoderate

Security readout for executives and security teams

Plain-English summary

QNAP disclosed a reflected cross-site scripting issue in QmailAgent. A remote attacker could inject malicious code if a user is tricked into interacting with vulnerable content. QNAP says the issue is fixed in QmailAgent 3.0.2, released August 25, 2021, and later.

Executive priority

Treat as moderate priority. Patch exposed or user-facing QmailAgent deployments promptly, especially where mail access involves sensitive data, but current sources do not support emergency active-exploitation handling.

Technical view

CVE-2021-34357 is CWE-79 reflected XSS affecting QNAP QmailAgent on QNAP devices. CVSS 3.1 is 6.9 with network attack vector, high complexity, no privileges required, user interaction required, changed scope, high confidentiality impact, low integrity impact, and no availability impact.

Likely exposure

Exposure is likely limited to QNAP devices running QmailAgent before 3.0.2. The source bundle does not specify exact vulnerable version ranges or affected QNAP device models.

Exploitation context

The sources do not report active exploitation, and the CVE is not listed as KEV. The CVSS vector indicates exploitation requires user interaction and high attack complexity, but no attacker privileges.

Researcher notes

Evidence is concise and vendor-led. The affected version range is unspecified, so validation should focus on installed QmailAgent version and whether it is older than the fixed release. Do not assume device-model coverage beyond QNAP devices running QmailAgent.

Mitigation direction

  • Upgrade QmailAgent to 3.0.2 or later.
  • Review QNAP advisory QSA-21-47 for vendor guidance.
  • Prioritize systems where QmailAgent is exposed to untrusted users.
  • Track QNAP updates if exact affected versions are needed.

Validation and detection

  • Inventory QNAP devices running QmailAgent.
  • Confirm installed QmailAgent version is 3.0.2 or later.
  • Check whether QmailAgent is reachable from untrusted networks.
  • Document any devices with unspecified or unverifiable versions.
Prepared
Confidence
high
Sources
3

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · medium confidence lookup

CWE-79: User-session and phishing behavior lookup

Client-side and session-facing weaknesses should be reviewed alongside initial-access and user-execution behaviors. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2021-34357 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Medium
CVSS
6.9 (3.1)
Known Exploited
No
Published

Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:L/A:N

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
0Timeline events
0ADP providers
2Source links

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
6.9CVSS 3.1MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:L/A:N1.64.7Primary CVE score

Vulnerability scoring details

Base CVSS 3.1 score

6.9Medium
CVSS 3.1 vector shape for CVE-2021-34357Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:L/A:N

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone

Source materials

Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
QNAP Systems Inc.QmailAgentunspecifiedListed
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-79 · source CWE mapping

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.