Security Resilience

CVE-2023-35160

XSS in Xwiki 3.0 – 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.023 83th percentile
Risk Priority 85 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-35160 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 17% 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 contains a reflected cross-site scripting vulnerability in its resubmit template that permits an attacker to inject arbitrary Javascript into a rendered page by supplying a crafted URL containing xpage=resubmit along with resubmit and xback parameters. The flaw has existed since version 2.5-milestone-2 and affects any deployment that has not been updated past the affected releases.

An unauthenticated remote attacker can exploit the issue simply by inducing a victim to click a malicious link, resulting in Javascript execution in the victim's browser context with the ability to read or modify page content and perform actions on behalf of the user. The CVSS 9.6 score reflects the combination of network attack vector, lack of required privileges, and full impact across confidentiality, integrity, and availability when the attack succeeds.

Advisories and patches published by the project state that the vulnerability is resolved in XWiki 14.10.5 and 15.1-rc-1; the corresponding commits and Jira issues XWIKI-20343 and XWIKI-20583 document the code change that removes the unsafe resubmit handling.

The EPSS probability rose from a low baseline to a peak of 0.3788 on 2025-01-22 before receding to the current value of 0.1207, indicating that exploitation interest increased measurably after public disclosure.

OWASP Top 10 for Web (2025)

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

resubmit template to perform a XSS, e.g. by using URL such as: > xwiki/bin/view/XWiki/Main xpage=resubmit&resubmit=javascript:alert(document.domain)&xback=javascript:alert(document.domain). This vulnerability exists since XWiki 2.5-milestone-2. 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

T1204 User Execution Execution
An adversary may rely upon specific actions by a user in order to gain execution.
T1491 Defacement Impact
Adversaries may modify visual content available internally or externally to an enterprise network, thus affecting the integrity of the original content.
T1056 Input Capture Collection
Adversaries may use methods of capturing user input to obtain credentials or collect information.
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.
T1190 Exploit Public-Facing Application Initial Access
Adversaries may attempt to exploit a weakness in an Internet-facing host or system to initially access a network.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2023-35159Same product: Xwiki Xwiki
CVE-2023-35161Same product: Xwiki Xwiki
CVE-2023-35156Same product: Xwiki Xwiki
CVE-2023-29202Same product: Xwiki Xwiki
CVE-2023-29201Same product: Xwiki Xwiki
CVE-2023-35155Same product: Xwiki Xwiki
CVE-2023-29515Same product: Xwiki Xwiki
CVE-2023-46732Same product: Xwiki Xwiki
CVE-2023-45137Same product: Xwiki Xwiki
CVE-2023-29205Same product: Xwiki Xwiki

Affected Assets

xwiki
xwiki
15.0, 2.5 · 3.0 — 14.10.5

Mitigating Controls

Control response

Prevent
Stop it (NIST 800-53)

—

Detect
Catch it (NIST detect / respond)

—

Harden
Shrink the surface (DISA STIG)

—

Validate
Prove the fix (OWASP ASVS)
  • V1.1.2
  • V1.3.2

Likely Mitigating Controls

Our mappings. Per-CVE control mapping for this CVE has not run yet; the list below is derived from the weakness types (CWEs) cited in the NVD entry.

addresses: CWE-79

Penetration testing submits XSS payloads to web applications, detecting cross-site scripting flaws for subsequent remediation.

addresses: CWE-79

Validates web inputs to reject script-related content that could produce XSS.

addresses: CWE-79

Output validation against expected content can reject or sanitize script content in generated web pages, reducing XSS exploitability.

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.

PR.PS-02 partial match
blocks

Patching and EOL replacement can remediate known XSS instances in libraries or frameworks (partial) but do nothing to enforce input neutralization in application code (none).

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