Vulnerability Details : CVE-2023-35156
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 delete template to perform a XSS, e.g. by using URL such as: > xwiki/bin/get/FlamingoThemes/Cerulean?xpage=xpart&vm=delete.vm&xredirect=javascript:alert(document.domain). This vulnerability exists since XWiki 6.0-rc-1. The vulnerability has been patched in XWiki 14.10.6 and 15.1. Note that a partial patch has been provided in 14.10.5 but wasn't enough to entirely fix the vulnerability.
Vulnerability category: Cross site scripting (XSS)
Products affected by CVE-2023-35156
- cpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:*
- cpe:2.3:a:xwiki:xwiki:15.0:*:*:*:*:*:*:*
- cpe:2.3:a:xwiki:xwiki:6.0:milestone2:*:*:*:*:*:*
- cpe:2.3:a:xwiki:xwiki:6.0:milestone1:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2023-35156
6.81%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 94 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2023-35156
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-35156
-
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-35156
-
https://github.com/xwiki/xwiki-platform/commit/24ec12890ac7fa6daec8d0b3435cfcba11362fd5
XWIKI-20672: Sanitize template URLs · xwiki/xwiki-platform@24ec128 · GitHubPatch;Vendor Advisory
-
https://jira.xwiki.org/browse/XWIKI-20583
[XWIKI-20583] Provide a macro for sanitizing URLs in templates - XWiki.org JIRAIssue Tracking;Vendor Advisory
-
https://github.com/xwiki/xwiki-platform/commit/13875a6437d4525ac4aeea25918f2d2dffac9ee1
XWIKI-20672: Sanitize template URLs · xwiki/xwiki-platform@13875a6 · GitHubPatch;Vendor Advisory
-
https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-834c-x29c-f42c
RXSS via xredirect parameter in delete template · Advisory · xwiki/xwiki-platform · GitHubVendor Advisory
-
https://jira.xwiki.org/browse/XWIKI-20341
Log in - XWiki.org JIRAIssue Tracking;Vendor Advisory
-
https://github.com/xwiki/xwiki-platform/commit/e80d22d193df364b07bab7925572720f91a8984a
XWIKI-20341: Sanitize template URLs · xwiki/xwiki-platform@e80d22d · GitHubPatch;Vendor Advisory
-
https://jira.xwiki.org/browse/XWIKI-20672
Log in - XWiki.org JIRAIssue Tracking;Vendor Advisory
Jump to