{"id":"CVE-2023-40176","published":"2023-08-23T19:33:15Z","modified":"2024-10-02T20:42:19Z","title":"SXSS in the user profile via the timezone displayer","vendor":"xwiki","product":"xwiki-platform","tier":"core","eol":null,"affectedVersions":[{"vendor":"xwiki","product":"xwiki-platform","versions":[">= 4.1-milestone-2, < 14.10.5"]}],"description":{"text":"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.","provenance":"source","from":"CVE.org"},"summary":{"text":"A stored cross-site scripting flaw exists in the time zone displayer of the user profile in xwiki-platform, the XWiki Platform generic wiki platform. An attacker who is any registered user can set a malicious payload as the time zone preference, bypassing the drop-down restriction via JavaScript or a crafted save request, and it executes unescaped when another user views the attacker's profile, which requires that user to visit the malicious profile.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-10-29T07:14:57Z"},"cvss":{"score":9.1,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.79989,"percentile":0.99613,"date":"2026-10-31","provenance":"source"},"kev":null,"vulncheckKev":null,"exploited":false,"otx":null,"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-h8cm-3v5f-rgp6","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/xwiki/xwiki-platform/commit/d11ca5d781f8a42a85bc98eb82306c1431e764d4","tags":["x_refsource_MISC"]},{"url":"https://jira.xwiki.org/browse/XWIKI-7847","tags":["x_refsource_MISC"]}],"techniques":[],"reports":[],"affected":[{"ecosystem":"Maven","package":"org.xwiki.platform:xwiki-platform-web-templates","vulnerableRanges":[">=4.1-milestone-2, <14.10.5"],"patched":["14.10.5"],"from":["GHSA-h8cm-3v5f-rgp6"],"provenance":"source"}],"advisories":[{"id":"GHSA-h8cm-3v5f-rgp6","url":"https://github.com/advisories/GHSA-h8cm-3v5f-rgp6","severity":"MODERATE","ecosystem":"Maven","package":"org.xwiki.platform:xwiki-platform-web-templates","vulnerableRanges":[">=4.1-milestone-2, <14.10.5"],"patched":["14.10.5"],"provenance":"source","from":"GHSA"}],"euvd":{"id":"EUVD-2023-2299","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2023-2299","exploited":false,"exploitedSince":null,"provenance":"source"},"exploits":[],"exploitSources":null,"exploitRefs":[],"flow":[],"timeline":[{"date":"2023-08-23","kind":"published","label":"Published (CVE.org)","url":"https://www.cve.org/CVERecord?id=CVE-2023-40176","provenance":"source"}],"speed":{"daysToPublicExploit":null,"firstExploitFrom":null,"daysToKev":null},"priority":{"score":26.3,"factors":[{"name":"In a KEV catalog","points":0.0,"detail":"not listed"},{"name":"Recent KEV listing","points":0.0,"detail":"not listed"},{"name":"Known ransomware use","points":0.0,"detail":"not known"},{"name":"EPSS percentile","points":19.92,"detail":"percentile 0.9961"},{"name":"Named in threat reports","points":0.0,"detail":"0 reports"},{"name":"Public exploit code","points":0.0,"detail":"none found"},{"name":"Mentioned in OTX pulses","points":0.0,"detail":"0 pulses"},{"name":"CVSS severity","points":6.37,"detail":"base score 9.1"},{"name":"End-of-life product","points":0.0,"detail":"supported or unknown"}]}}