Vulnerability Details : CVE-2023-35158
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 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.
Vulnerability category: Cross site scripting (XSS)
Products affected by CVE-2023-35158
- cpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:*
- cpe:2.3:a:xwiki:xwiki:15.0:-:*:*:*:*:*:*
- cpe:2.3:a:xwiki:xwiki:9.4:rc-1:*:*:*:*:*:*
- cpe:2.3:a:xwiki:xwiki:9.4:-:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2023-35158
44.71%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 97 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2023-35158
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
6.1
|
MEDIUM | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
2.8
|
2.7
|
NIST | |
9.6
|
CRITICAL | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H |
2.8
|
6.0
|
GitHub, Inc. |
CWE ids for CVE-2023-35158
-
The product does not neutralize or incorrectly neutralizes user-controlled input for alternate script syntax.Assigned by: security-advisories@github.com (Primary)
References for CVE-2023-35158
-
https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-mwxj-g7fw-7hc8
RXSS via xredirect parameter in restore template · Advisory · xwiki/xwiki-platform · GitHubVendor Advisory
-
https://github.com/xwiki/xwiki-platform/commit/d5472100606c8355ed44ada273e91df91f682738
XWIKI-20352: Sanitize template URLs · xwiki/xwiki-platform@d547210 · GitHubPatch;Vendor Advisory
-
https://jira.xwiki.org/browse/XWIKI-20583
[XWIKI-20583] Provide a macro for sanitizing URLs in templates - XWiki.org JIRAIssue Tracking;Patch;Vendor Advisory
-
https://jira.xwiki.org/browse/XWIKI-20352
Log in - XWiki.org JIRAIssue Tracking;Vendor Advisory
Jump to