LiveActive security incident?Get immediate response
CVE Record

CVE-2021-32733: XSS in Nextcloud Text application

Nextcloud Text is a collaborative document editing application that uses Markdown. A cross-site scripting vulnerability is present in versions prior to 19.0.13, 20.0.11, and 21.0.3. The Nextcloud Text application shipped with Nextcloud server used a `text/html` Content-Type when serving files to users. Due the strict Content-Security-Policy shipped with Nextcloud, this issue is not exploitable on modern browsers supporting Content-Security-Policy. The issue was fixed in versions 19.0.13, 20.0.11, and 21.0.3. As a workaround, use a browser that has support for Content-Security-Policy.

MediumCVSS 4.8Not KEV-listedUpdated
Glexia's TakeAutomated analysismoderate

Security readout for executives and security teams

Plain-English summary

CVE-2021-32733 is a stored cross-site scripting issue in Nextcloud Text. Older affected Nextcloud server lines could serve user files as HTML, creating a path for script execution. Nextcloud’s strict Content Security Policy limits practical impact in modern browsers. Upgrade priority is moderate, mainly to remove avoidable integrity risk.

Executive priority

Treat as a moderate maintenance fix, not an emergency based on the supplied evidence. Upgrade during the next security patch window, sooner for externally exposed or multi-tenant Nextcloud environments where untrusted content is common.

Technical view

Nextcloud Text versions before 19.0.13, 20.0.11, and 21.0.3 used a text/html Content-Type when serving files. The issue is classified as CWE-79 with CVSS 3.1 score 4.8. Attack prerequisites include low privileges, user interaction, and high attack complexity; vendor notes say CSP-supporting modern browsers block exploitation.

Likely exposure

Exposure is most likely in Nextcloud deployments on 19.x before 19.0.13, 20.x before 20.0.11, or 21.x before 21.0.3 using the bundled Text application. Risk is lower where users consistently access the service with modern browsers enforcing Content Security Policy.

Exploitation context

The provided sources do not show active exploitation, and this CVE is not listed as KEV in the bundle. The advisory states the issue is not exploitable on modern browsers that support Content Security Policy, so practical exploitation depends on affected versions, browser behavior, and user interaction.

Researcher notes

Evidence points to a Content-Type handling flaw leading to XSS potential, constrained by strict CSP. Do not assume broad exploitability without testing browser and CSP behavior in the target environment. The supplied sources identify fixed versions but do not provide evidence of exploitation in the wild.

Mitigation direction

  • Upgrade affected Nextcloud deployments to 19.0.13, 20.0.11, 21.0.3, or later.
  • Require modern browsers with Content Security Policy support for Nextcloud access.
  • Review the Nextcloud advisory for any environment-specific guidance.
  • Prioritize upgrades where untrusted users can create or share Text documents.

Validation and detection

  • Inventory Nextcloud versions across managed and internet-facing environments.
  • Confirm Text is fixed at 19.0.13, 20.0.11, 21.0.3, or later.
  • Verify user browser policy excludes legacy browsers lacking CSP support.
  • Check whether untrusted or external users can access collaborative Text documents.
Prepared
Confidence
high
Sources
5

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-32733 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
4.8 (3.1)
Known Exploited
No
Published

Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:H/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
4Source 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
4.8CVSS 3.1MediumCVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:N1.23.6Primary CVE score

Vulnerability scoring details

Base CVSS 3.1 score

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

Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:H/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
nextcloudsecurity-advisories< 19.0.13, >= 20.0.0, < 20.0.11, >= 21.0.0, < 21.0.3Listed
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.