Security Resilience

CVE-2023-35158

XSS in Xwiki 9.4 – 14.10.5

Published
23 June 2023
Modified
21 November 2024
Patch / advisory
CVSS Score v3.1 9.6
Click a component to see what it means
Raw vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
EPSS Score 0.020 82th percentile
Risk Priority 83 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.

Summary

CVE-2023-35158 is a critical-severity Improper Neutralization of Alternate XSS Syntax (CWE-87) vulnerability in Xwiki. Its CVSS base score is 9.6 (Critical).

Operationally, exploitation aligns with the MITRE ATT&CK technique Web Portal Capture (T1056.003); ranked in the top 18% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog.

Deeper analysis AI-assisted summary

Synthesised by an AI model from the NVD description and linked references — a reading aid, not an authoritative source.

XWiki Platform, a generic wiki platform, contains a reflected cross-site scripting vulnerability in its restore template that permits arbitrary JavaScript injection via crafted URLs. The flaw has existed since version 9.4-rc-1 and allows an attacker-supplied xredirect parameter containing a javascript: URI to execute in the context of the application when the page is rendered with parameters such as xpage=restore and showBatch=true.

An unauthenticated remote attacker can exploit the issue by persuading a victim to visit a maliciously constructed link, resulting in script execution that can achieve confidentiality, integrity, and availability impacts within the wiki application. The CVSS 3.1 score of 9.6 reflects the combination of network attack vector, low complexity, no required privileges, and changed scope.

Official patches are available in XWiki 14.10.5 and 15.1-rc-1; the corresponding commits and security advisory on GitHub document the fix for the restore template handling. The associated EPSS score rose from low values after disclosure to a peak of 0.3180 on 2025-01-22 before receding, indicating a period of increased exploitation interest.

EU & UK References

Vulnerability Data

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…

more

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.

CWE(s)

Related Threats

MITRE ATT&CK Enterprise Techniques

MITRE ATT&CK v20.0

T1056.003 Web Portal Capture Collection
Adversaries may install code on externally facing portals, such as a VPN login page, to capture and transmit credentials of users who attempt to log into the service.
T1189 Drive-by Compromise Initial Access
Adversaries may gain access to a system through a user visiting a website over the normal course of browsing.
T1539 Steal Web Session Cookie Credential Access
An adversary may steal web application or service session cookies and use them to gain access to web applications or Internet services as an authenticated user without needing credentials.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2023-35156Same product: Xwiki Xwiki
CVE-2023-35160Same product: Xwiki Xwiki
CVE-2023-35161Same product: Xwiki Xwiki
CVE-2023-35159Same product: Xwiki Xwiki
CVE-2026-40105Same product: Xwiki Xwiki
CVE-2025-49585Same product: Xwiki Xwiki
CVE-2025-49587Same product: Xwiki Xwiki
CVE-2025-49582Same product: Xwiki Xwiki
CVE-2023-27480Same product: Xwiki Xwiki
CVE-2023-31126Same product: Xwiki Xwiki

Affected Assets

xwiki
xwiki
15.0, 9.4 · 9.4 — 14.10.5

Mitigating Controls

Mitigating Controls (NIST CSF 2.0)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→CSF cross-walk — links open the control.

PR.PS-06 mostly match
blocks

Secure SDLC practices directly require proper input neutralization and output encoding to prevent alternate XSS syntax.

Mitigating Controls (ISO/IEC 27001:2022 Annex A)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.

finds

Security testing catches residual XSS but does not itself implement the neutralization controls.

prevents

Training developers about XSS risks and proper neutralization techniques can reduce instances of incomplete denylists like the one CWE-87 describes, but the practice is fallible and the strongest control is secure coding/testing (A.8.28/A.8.29), so only a minority of instances are prevented.

prevents

Secure coding standards require proper neutralization of alternate script syntax, directly eliminating CWE-87.

prevents

A.8.30 carries its effect through the secure development practices (8.25-8.29) it contracts from the supplier, which include proper input neutralization; an organization implementing it faithfully sees a reduction in regular software CWEs like CWE-87, but the clause depends on those other controls and the ceiling is `partial`.

finds

A.8.8's reach is disclosure-based (published advisories and component inventory), so it finds CWE-87 only where the alternate-syntax XSS flaw is already a published vulnerability in a third-party component; most instances live in first-party code that A.8.8 does not read, mirroring the A.8.8 -> CWE-89 anchor.

References