WaratekVRT Sign in

CVE-2023-35158 XWiki

Affected softwareXWiki
Severity9.6 Critical CVSS 3.1 2 scores
Fixed in14.10.5, 15.1-rc-1
WeaknessCWE-87
Published23 Jun 2023
Updated17 Jun 2026

Description

XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. Users are able to forge an URL with a payload allowing to inject Javascript in the page (XSS). It's possible to exploit the restore template to perform a XSS, e.g. by using URL such as: > /xwiki/bin/view/XWiki/Main?xpage=restore&showBatch=true&xredirect=javascript:alert(document.domain). This vulnerability exists since XWiki 9.4-rc-1. The vulnerability has been patched in XWiki 14.10.5 and 15.1-rc-1.

Exploitation status

Working exploit published

A reviewed exploit catalogue lists ready-to-run exploit code for 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: total.
  • Indexed PoC 1 indexed Published artifacts you can open, in Nuclei.
  • EPSS 2.0% chance in 30 days
IndexArtifactStarsFirst seen
Nuclei XWiki - Cross-Site Scripting

Waratek protection

Mitigation candidate

A kind of vulnerability Waratek's rules address, with exploit code published or exploitation reported. No rule exists and none is planned yet. The decision below says what we found to build a rule from.

  • Protection none
  • Action unverified
  • Review automated Inferred
  • Record active
Decided by A reference pointing at the upstream fix: a commit, a PR, a Red Hat bug
Finding A reference points at an upstream fix (commit tier): https://github.com/xwiki/xwiki-platform/commit/d5472100606c8355ed44ada273e91df91f682738. That makes this CVE a candidate for an ARMR patch rule — it is the kind of defect ARMR can address, and there is a fix to work from. No rule exists and none is scheduled: writing one means reading the linked change and finding a hook point ARMR can express it at, which may turn out not to exist.
Candidate fix https://github.com/xwiki/xwiki-platform/commit/d5472100606c8355ed44ada273e91df91f682738 : a commit: the change itself

CVSS

9.6 CRITICAL v3.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H 2 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 9.6 CRITICAL CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H security-advisories@github.com Secondary published
CVSS 3.1 6.1 MEDIUM CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N NVD Primary

Affected software and releases

Maven packages

Affected and fixed versions, from OSV.dev
PackageIntroducedFixedLast affected
org.xwiki.platform:xwiki-platform-flamingo-skin-resources 9.4-rc-1 14.10.5 unbounded
org.xwiki.platform:xwiki-platform-flamingo-skin-resources 15.0-rc-1 15.1-rc-1 unbounded

Products and versions

2 products, 6 version entries
SourceVendorProductSchemeAffected versions
osv org.xwiki.platform xwiki-platform-flamingo-skin-resources generic ≥ 9.4 and < 14.10.5 · ≥ 15.0 and < 15.1
nvd xwiki xwiki generic 9.4 · 9.4:rc-1 · ≥ 9.4 and < 14.10.5 · 15.0

References

URLTags
https://github.com/xwiki/xwiki-platform/commit/d5472100606c8355ed44ada273e91df91f682738 commit
https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-mwxj-g7fw-7hc8 WEB
https://github.com/xwiki/xwiki-platform PACKAGE
https://jira.xwiki.org/browse/XWIKI-20352 WEB
https://jira.xwiki.org/browse/XWIKI-20583 WEB

Timeline

Published2023-06-23By the CVE Program.
NVD record modified2026-06-17NVD's own last-modified date for this record.