Security Digest · Vulnerability record

CVE-2024-55662: XWiki allows remote code execution through the extension sheet

XWiki Platform is a generic wiki platform.

CVSS 10.0 Critical EPSS 0.8% · p56

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 0.8%, percentile 56: FIRST’s model estimates a 0.8% chance of exploitation activity in the next 30 days, higher than 56% 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-repository-server-ui (Maven) >= 3.3-milestone-1, < 15.10.9, fixed in 15.10.9; org.xwiki.platform:xwiki-platform-repository-server-ui (Maven) >= 16.0.0-rc-1, < 16.3.0, fixed in 16.3.0. Check your lockfile, including transitive dependencies.

What it is

XWiki Platform is a generic wiki platform. Starting in version 3.3-milestone-1 and prior to versions 15.10.9 and 16.3.0, on instances where Extension Repository Application is installed, any user can execute any code requiring programming rights on the server. This vulnerability has been fixed in XWiki 15.10.9 and 16.3.0. Since Extension Repository Application is not mandatory, it can be safely disabled on instances that do not use it as a workaround. It is also possible to manually apply the patches from commit 8659f17d500522bf33595e402391592a35a162e8 to the page ExtensionCode.ExtensionSheet and to the page ExtensionCode.ExtensionAuthorsDisplayer.

From the GitHub advisory

Impact On instances where Extension Repository Application is installed, any user can execute any code requiring programming rights on the server. In order to reproduce on an instance, as a normal user without script nor programming rights, go to your profile and add an object of type ExtensionCode.ExtensionClass. Set the description to {{async}}{{groovy}}println("Hello from Description"){{/groovy}}{{/async}} and press Save and View. If the description displays as Hello from Description without any error, then the instance is vulnerable.

Patches This vulnerability has been fixed in XWiki 15.10.9 and 16.3.0.

Workarounds Since Extension Repository Application is not mandatory, it can be safely disabled on instances that do not use it. It is also possible to manually apply this patch to the page ExtensionCode.ExtensionSheet, as well as this patch to the page ExtensionCode.ExtensionAuthorsDisplayer.

References https://jira.xwiki.org/browse/XWIKI-21890 https://github.com/xwiki/xwiki-platform/commit/8659f17d500522bf33595e402391592a35a162e8

For more information

Weakness type: CWE-96, CWE-863, CWE-94.

Product: org.xwiki.platform:xwiki-platform-repository-server-ui (Maven) · Assigned by: GitHub_M · Published: 2024-12-12

Affected and fixed versions

EcosystemPackageVulnerableFirst fixed
Mavenorg.xwiki.platform:xwiki-platform-repository-server-ui>= 3.3-milestone-1, < 15.10.915.10.9
Mavenorg.xwiki.platform:xwiki-platform-repository-server-ui>= 16.0.0-rc-1, < 16.3.016.3.0
VendorProductAffected versions (per CVE record)
xwikixwiki-platform>= 3.3-milestone-1, < 15.10.9, >= 16.0.0-rc-1, < 16.3.0

Severity scores

Scored byCVSSScoreVector
GitHub_M3.110 CriticalCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
GitHub3.19.9 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
  • Attack vector: network (remotely reachable)
  • Attack complexity: low
  • Privileges required: low (any account)
  • User interaction: none
  • Scope: changed (can affect other components)

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): 0.79% probability of exploitation activity in the next 30 days; percentile 56.

Timeline

  • — CVE record published by GitHub_M
  • — GitHub-reviewed advisory GHSA-j2pq-22jj-4pm5 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-j2pq-22jj-4pm5 github.com
  2. CVE.org record CVE-2024-55662 cve.org
  3. NVD entry CVE-2024-55662 nvd.nist.gov

Other references from the CVE record and advisory

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

Critical Maven advisories · Today’s Security Digest