WaratekVRT Sign in

CVE-2021-43841 XWiki

Affected softwareXWiki
Severity5.4 Medium CVSS 3.1 3 scores
Fixed in12.10.6, 13.3RC1
WeaknessCross-site scripting (CWE-79)
Published4 Feb 2022
Updated17 Jun 2026

Description

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.

Exploitation status

Proof of concept only

A proof of concept exists, but no reviewed exploit catalogue lists this CVE.

  • CISA KEV not listed
  • VulnCheck KEV not listed
  • CISA Vulnrichment exploitation: poc CISA recorded that an exploit has been demonstrated. Automatable: no, technical impact: partial.
  • Indexed PoC none indexed
  • EPSS 0.87% chance in 30 days

Waratek protection

No exploit published

Within Waratek scope. In the sources we check, nobody has published exploit code for this CVE or reported it being exploited.

A public code fix exists: xwiki/xwiki-platform 5853d49.

  • Protection none
  • Action unverified
  • Review automated Upstream data
  • Record active
Decided by Exploit code for this candidate, published in a reviewed catalogue or a GitHub repository with 5 or more stars, or in use per CISA or VulnCheck; not only a CISA verdict, a forecast, or nothing at all
Finding This CVE is not listed in CISA KEV or VulnCheck KEV, CISA Vulnrichment records no active exploitation, no reviewed exploit catalogue carries an entry for it, and no GitHub PoC repository for it has 5 or more stars. Nobody has published exploit code worth tracing, so it is not a candidate for a rule ahead of the ones where somebody has; an upstream fix path does exist, so the remediation half of the candidacy still holds. This is a statement about what has been published, not about whether the defect is reachable or serious.
Candidate fix https://github.com/xwiki/xwiki-platform/commit/5853d492b3a274db0d94d560e2a5ea988a271c62 : a commit: the change itself

CVSS

5.4 MEDIUM v3.1 CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N 3 metrics

We show the highest score from the newest CVSS version. Scores from different versions can't be compared, and the first score listed is sometimes a 0.0 placeholder.

VersionScoreBandVectorAssignerType
CVSS 3.1 5.4 MEDIUM CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N security-advisories@github.com Secondary published
CVSS 3.1 5.4 MEDIUM CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N NVD Primary
CVSS 2.0 3.5 none AV:N/AC:M/Au:S/C:N/I:P/A:N NVD Primary

Affected software and releases

Maven packages

Affected and fixed versions, from OSV.dev
PackageIntroducedFixedLast affected
org.xwiki.platform:xwiki-platform-oldcore 0 12.10.6 unbounded
org.xwiki.platform:xwiki-platform-oldcore 13.0 13.3RC1 unbounded
org.xwiki.platform:xwiki-platform-tool-configuration-resources 13.0 13.3RC1 unbounded
org.xwiki.platform:xwiki-platform-tool-configuration-resources 0 12.10.6 unbounded

Products and versions

3 products, 6 version entries
SourceVendorProductSchemeAffected versions
osv org.xwiki.platform xwiki-platform-oldcore generic < 12.10.6 · ≥ 13.0 and < 13.3
osv org.xwiki.platform xwiki-platform-tool-configuration-resources generic < 12.10.6 · ≥ 13.0 and < 13.3
nvd xwiki xwiki generic ≥ 1.0 and < 12.10.6 · ≥ 13.0 and ≤ 13.2

References

URLTags
https://github.com/xwiki/xwiki-platform/commit/5853d492b3a274db0d94d560e2a5ea988a271c62 commit
https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-9jq9-c2cv-pcrj WEB
https://github.com/xwiki/xwiki-platform WEB
https://jira.xwiki.org/browse/XWIKI-18368 WEB
https://www.xwiki.org/xwiki/bin/view/Documentation/AdminGuide/Attachments#HAttachmentdisplayordownload WEB

Timeline

Published2022-02-04By the CVE Program.
NVD record modified2026-06-17NVD's own last-modified date for this record.