LiveActive security incident?Get immediate response
CVE Record

CVE-2021-43841: XSS by SVG upload in xwiki-platform

XWiki is a generic wiki platform offering runtime services for applications built on top of it. When using default XWiki configuration, it's possible for an attacker to upload an SVG containing a script executed when executing the download action on the file. This problem has been patched so that the default configuration doesn't allow to display the SVG files in the browser. Users are advised to update or to disallow uploads of SVG files.

MediumCVSS 5.4Not KEV-listedUpdated
Glexia's TakeAutomated analysismoderate

Security readout for executives and security teams

Plain-English summary

This flaw lets an authenticated XWiki user upload an SVG that can run script when another user opens it through the download action. The likely business impact is account/session exposure or page manipulation inside XWiki, not server takeover. Sources say patched versions changed default behavior so SVG files are not displayed in-browser.

Executive priority

Treat as a moderate-priority wiki hardening issue. It is not marked as actively exploited in the provided sources, but it can affect trusted collaboration spaces and should be remediated during the next standard security update window.

Technical view

CVE-2021-43841 is a CWE-79 cross-site scripting issue in xwiki-platform. Affected versions are before 12.10.6 and 13.0 through before 13.3RC1. The attack requires low privileges and user interaction, with changed scope and limited confidentiality/integrity impact per CVSS 3.1 score 5.4.

Likely exposure

Exposure is most likely where XWiki permits user attachment uploads and runs an affected version with default SVG browser display behavior. Public or broad internal wikis with many contributors have higher practical risk because attacker privileges are low and victims may trust wiki attachments.

Exploitation context

The source bundle does not show KEV listing or confirmed active exploitation. Exploitation requires an attacker who can upload attachments and a victim who opens the SVG through the affected download/display path. No exploit steps should be needed to assess exposure.

Researcher notes

The key uncertainty is operational configuration: risk depends on attachment permissions and SVG display behavior. The commit and advisory support the fix direction, while the CVE data provides affected ranges and CVSS. Avoid assuming compromise without logs, attachment review, or user reports.

Mitigation direction

  • Upgrade XWiki to a patched release outside the affected version ranges.
  • Disallow SVG uploads if immediate upgrade is not possible.
  • Review XWiki attachment display/download configuration against vendor guidance.
  • Prioritize broad-access wikis and instances with untrusted contributors.

Validation and detection

  • Inventory XWiki versions and compare against the affected ranges.
  • Check whether SVG attachment uploads are allowed for non-admin users.
  • Confirm SVG attachments are not displayed directly in the browser.
  • Review existing SVG attachments for ownership, age, and business need.
  • Check vendor advisory and Jira issue for environment-specific guidance.
Prepared
Confidence
high
Sources
6

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-43841 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
5.4 (3.1)
Known Exploited
No
Published

Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/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
5Source 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
5.4CVSS 3.1MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N2.32.7Primary CVE score

Vulnerability scoring details

Base CVSS 3.1 score

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

Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/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
Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
xwikixwiki-platform< 12.10.6, >= 13.0, < 13.3RC1Listed
Weakness

CWE details

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