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 81th percentile
Risk Priority 83 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). 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 Xwiki. Its CVSS base score is 9.6 (Critical).

Operationally, exploitation aligns with the MITRE ATT&CK technique Steganography (T1001.002); ranked in the top 19% 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

T1001.002 Steganography Command And Control
Adversaries may use steganographic techniques to hide command and control traffic to make detection efforts more difficult.
T1001.003 Protocol or Service Impersonation Command And Control
Adversaries may impersonate legitimate protocols or web service traffic to disguise command and control activity and thwart analysis efforts.
T1003.004 LSA Secrets Credential Access
Adversaries with SYSTEM access to a host may attempt to access Local Security Authority (LSA) secrets, which can contain a variety of different credential materials, such as credentials for service accounts.
T1003.006 DCSync Credential Access
Adversaries may attempt to access credentials and other sensitive information by abusing a Windows Domain Controller's application programming interface (API)(Citation: Microsoft DRSR Dec 2017) (Citation: Microsoft GetNCCChanges) (Citati…
T1003.008 /etc/passwd and /etc/shadow Credential Access
Adversaries may attempt to dump the contents of <code>/etc/passwd</code> and <code>/etc/shadow</code> to enable offline password cracking.
T1011.001 Exfiltration Over Bluetooth Exfiltration
Adversaries may attempt to exfiltrate data over Bluetooth rather than the command and control channel.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2023-35160Same product: Xwiki Xwiki
CVE-2023-35156Same product: Xwiki Xwiki
CVE-2023-35159Same product: Xwiki Xwiki
CVE-2023-35161Same product: Xwiki Xwiki
CVE-2026-40105Same product: Xwiki Xwiki
CVE-2022-36098Same product: Xwiki Xwiki
CVE-2025-66472Same product: Xwiki Xwiki
CVE-2023-50722Same product: Xwiki Xwiki
CVE-2023-45137Same product: Xwiki Xwiki
CVE-2023-29508Same product: Xwiki Xwiki

Affected Assets

xwiki
xwiki
15.0, 9.4 · 9.4 — 14.10.5

Mitigating Controls

Mitigating Controls (NIST CSF 2.0) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→CSF cross-walk (authority under review) — links open the control.

PR.PS-06 partial 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) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→ISO cross-walk (authority under review) — links open the control.

blocks

A.8.25 mandates secure SDLC practices including secure coding guidelines, security requirements, checkpoints, testing (scans/penetration), and developer training that reach alternate XSS syntax neutralization when applied to web output handling; this stops exploitation in covered projects but leaves a bounded remainder (unrigorous implementation, non-web contexts, or outsourced development without full assurance per 8.30).

blocks

Application security requirements explicitly call for neutralization of untrusted input to block XSS variants.

blocks

A.8.27 mandates security-by-design principles (including data validation/sanitization, distrust external input, defense-in-depth, secure architecture reviews against attack patterns) that reach alternate XSS syntax when applied to input handling, but leaves a bounded remainder where implementation is incomplete, outsourced development deviates, or specific alternate syntaxes are unaddressed in the review.

prevents

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

finds

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

References