Vulnerability Details : CVE-2023-35160
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 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.
Vulnerability category: Cross site scripting (XSS)
Products affected by CVE-2023-35160
- cpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:*
- cpe:2.3:a:xwiki:xwiki:2.5:milestone2:*:*:*:*:*:*
- cpe:2.3:a:xwiki:xwiki:15.0:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2023-35160
3.38%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 87 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2023-35160
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-35160
-
The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.Assigned by: nvd@nist.gov (Primary)
-
The product does not neutralize or incorrectly neutralizes user-controlled input for alternate script syntax.Assigned by: security-advisories@github.com (Secondary)
References for CVE-2023-35160
-
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://github.com/xwiki/xwiki-platform/security/advisories/GHSA-r8xc-xxh3-q5x3
RXSS via back and xcontinue parameters in resubmit template · Advisory · xwiki/xwiki-platform · GitHubVendor Advisory
-
https://jira.xwiki.org/browse/XWIKI-20343
Log in - XWiki.org JIRAIssue Tracking;Permissions Required;Vendor Advisory
-
https://github.com/xwiki/xwiki-platform/commit/dbc92dcdace33823ffd1e1591617006cb5fc6a7f
XWIKI-20343: Sanitize template URLs · xwiki/xwiki-platform@dbc92dc · GitHubPatch;Vendor Advisory
Jump to