Security Digest · Vulnerability record

CVE-2024-41947: XWiki Platform vulnerable to Cross-Site Scripting (XSS) through conflict resolution

XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it.

CVSS 9.4 Critical EPSS 1.7% · p77

Should you act?

Critical, preconditions apply

Severe if exploited, but exploitation needs conditions that may not apply to you. This signal is computed from CISA KEV, EPSS and CVSS data; it is not an editorial verdict.

  • Not in CISA KEV, but CISA’s SSVC assessment records a public proof-of-concept, so attack code exists.
  • EPSS 1.7%, percentile 77: FIRST’s model estimates a 1.7% chance of exploitation activity in the next 30 days, higher than 77% of all scored CVEs (moderate). EPSS is a probability, not a verdict.
  • Needs an account (low (any account)). Exposure depends on who can log in.
  • Only applies if your dependency tree includes org.xwiki.platform:xwiki-platform-web-templates (Maven) >= 11.8-rc-1, < 15.10.8, fixed in 15.10.8; org.xwiki.platform:xwiki-platform-web-templates (Maven) >= 16.0.0-rc-1, < 16.3.0-rc-1, fixed in 16.3.0-rc-1. Check your lockfile, including transitive dependencies.

What it is

XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. By creating a conflict when another user with more rights is currently editing a page, it is possible to execute JavaScript snippets on the side of the other user, which compromises the confidentiality, integrity and availability of the whole XWiki installation. This has been patched in XWiki 15.10.8 and 16.3.0RC1.

From the GitHub advisory

Impact

By creating a conflict when another user with more rights is currently editing a page, it is possible to execute JavaScript snippets on the side of the other user, which compromises the confidentiality, integrity and availability of the whole XWiki installation.

To reproduce on a XWiki instance, a user with admin rights needs to edit a document without saving right away. Then, as another user without any other right than edit on the specific document, change the whole content to alert('XSS') . When the admin user then saves the document, a conflict popup appears. If they select "Fix each conflict individually" and see an alert displaying "XSS", then the instance is vulnerable.

Patches

This has been patched in XWiki 15.10.8 and 16.3.0RC1.

Weakness type: CWE-80, CWE-79.

Product: org.xwiki.platform:xwiki-platform-web-templates (Maven) · Assigned by: GitHub_M · Published: 2024-07-31

Affected and fixed versions

EcosystemPackageVulnerableFirst fixed
Mavenorg.xwiki.platform:xwiki-platform-web-templates>= 11.8-rc-1, < 15.10.815.10.8
Mavenorg.xwiki.platform:xwiki-platform-web-templates>= 16.0.0-rc-1, < 16.3.0-rc-116.3.0-rc-1
VendorProductAffected versions (per CVE record)
xwikixwiki-platform>= 11.8-rc-1, < 15.10.8, >= 16.0.0-rc-1, < 16.3.0-rc-1

Severity scores

Scored byCVSSScoreVector
GitHub_M3.19.1 CriticalCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H
GitHub4.09.4 CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H
  • Attack vector: network (remotely reachable)
  • Attack complexity: low
  • Attack requirements: none
  • Privileges required: low (any account)
  • User interaction: passive

CVSS measures how bad a flaw is if exploited, not how likely exploitation is. Read it next to the exploitation data below.

Exploitation and urgency

  • CISA KEV: not listed (no confirmed in-the-wild exploitation known to CISA).
  • CISA SSVC assessment: exploitation poc, automatable no, technical impact total.
  • FIRST EPSS (model of 2026-10-21): 1.67% probability of exploitation activity in the next 30 days; percentile 77.

Timeline

  • — CVE record published by GitHub_M
  • — GitHub-reviewed advisory GHSA-692v-783f-mg8x published (critical)
  • — CVE record last updated

Sources and references

Original sources first. Version and fix details should always be confirmed against the vendor or project advisory.

Vulnerability records

  1. GitHub Advisory GHSA-692v-783f-mg8x github.com
  2. CVE.org record CVE-2024-41947 cve.org
  3. NVD entry CVE-2024-41947 nvd.nist.gov

Other references from the CVE record and advisory

  1. github.com github.com
  2. github.com github.com
  3. github.com github.com
  4. jira.xwiki.org jira.xwiki.org

Critical Maven advisories · Today’s Security Digest