CVE-2023-40176
published 2023-08-23CVE-2023-40176: XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. Any registered user can exploit a stored XSS through…
PriorityP345medium5.4CVSS 3.1
AVNACLPRLUIRSCCLILAN
EPSS
78.88%
99.5th percentile
XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. Any registered user can exploit a stored XSS through their user profile by setting the payload as the value of the time zone user preference. Even though the time zone is selected from a drop down (no free text value) it can still be set from JavaScript (using the browser developer tools) or by calling the save URL on the user profile with the right query string. Once the time zone is set it is displayed without escaping which means the payload gets executed for any user that visits the malicious user profile, allowing the attacker to steal information and even gain more access rights (escalation to programming rights). This issue is present since version 4.1M2 when the time zone user preference was introduced. The issue has been fixed in XWiki 14.10.5 and 15.1RC1.
Affected
4 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| xwiki | xwiki | — | — |
| xwiki | xwiki | — | — |
| xwiki | xwiki | >= 4.1.1 < 14.10.5 | 14.10.5 |
| xwiki | xwiki-platform | — | — |
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
OSV
XWiki Platform Stored Cross-site Scripting in the user profile via the timezone displayer
osv·2023-08-21
CVE-2023-40176 [MEDIUM] XWiki Platform Stored Cross-site Scripting in the user profile via the timezone displayer
XWiki Platform Stored Cross-site Scripting in the user profile via the timezone displayer
### Impact
Any registered user can exploit a stored XSS through their user profile by setting the payload as the value of the time zone user preference. Even though the time zone is selected from a drop down (no free text value) it can still be set from JavaScript (using the browser developer tools) or by calling the save URL on the user profile with the right query string. Once the time zone is set it is displayed without escaping which means the payload gets executed for any user that visits the malicious user profile, allowing the attacker to steal information and even gain more access rights (escalation to programming rights).
The problem is present [since version 4.1M2](https://jira.xwiki.org/
GHSA
XWiki Platform Stored Cross-site Scripting in the user profile via the timezone displayer
ghsa·2023-08-21
CVE-2023-40176 [MEDIUM] CWE-79 XWiki Platform Stored Cross-site Scripting in the user profile via the timezone displayer
XWiki Platform Stored Cross-site Scripting in the user profile via the timezone displayer
### Impact
Any registered user can exploit a stored XSS through their user profile by setting the payload as the value of the time zone user preference. Even though the time zone is selected from a drop down (no free text value) it can still be set from JavaScript (using the browser developer tools) or by calling the save URL on the user profile with the right query string. Once the time zone is set it is displayed without escaping which means the payload gets executed for any user that visits the malicious user profile, allowing the attacker to steal information and even gain more access rights (escalation to programming rights).
The problem is present [since version 4.1M2](https://jira.xwiki.org/
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
https://github.com/xwiki/xwiki-platform/commit/d11ca5d781f8a42a85bc98eb82306c1431e764d4https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-h8cm-3v5f-rgp6https://jira.xwiki.org/browse/XWIKI-7847https://github.com/xwiki/xwiki-platform/commit/d11ca5d781f8a42a85bc98eb82306c1431e764d4https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-h8cm-3v5f-rgp6https://jira.xwiki.org/browse/XWIKI-7847
2023-08-23
Published