# CVE-2023-40176: XWiki Platform Stored Cross-site Scripting in the user profile via the timezone displayer

Source: https://junglewise.ai/threats/cve-2023-40176-xwiki-platform-stored-cross-site-scripting-in-the-user-profile  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2023-08-21  
License: CC BY 4.0 with a link back

CVE-2023-40176 · Severity: low · CVSS 3.1 · Published 2023-08-21

XWiki Platform Stored Cross-site Scripting in the user profile via the timezone displayer

Technologies: [org.xwiki.platform:xwiki-platform-web-templates (Maven)](https://junglewise.ai/threats/technologies/org-xwiki-platform-xwiki-platform-web-templates). Vendors: [Maven](https://junglewise.ai/threats/vendors/maven).

## Quick answers

**Is CVE-2023-40176 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2023-40176 being exploited in the wild.

**How severe is CVE-2023-40176?** Low severity, with a CVSS score of 3.1, published 21 August 2023.

**Which products and versions are affected?** org.xwiki.platform:xwiki-platform-web-templates (Maven) ECOSYSTEM:introduced=4.1-milestone-2,fixed=14.10.5.

**Is there a fix for CVE-2023-40176?** Yes. org.xwiki.platform:xwiki-platform-web-templates (Maven): upgrade to 14.10.5 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2023-40176?** Check whether you run org.xwiki.platform:xwiki-platform-web-templates (Maven) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- org.xwiki.platform:xwiki-platform-web-templates (Maven): upgrade to 14.10.5 or later

  ```sh
  # set org.xwiki.platform:xwiki-platform-web-templates to 14.10.5 in your pom.xml or build.gradle
  ```


## Affected products

- org.xwiki.platform:xwiki-platform-web-templates (Maven) ECOSYSTEM:introduced=4.1-milestone-2,fixed=14.10.5

## Identifiers

- CVE-2023-40176
- GHSA-h8cm-3v5f-rgp6

## Related threats

- [XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. Versions 10.4-rc-1, through 16.10.](https://junglewise.ai/threats/cve-2026-40105-xwiki-has-reflected-cross-site-scripting-xss-in-page-history)
- [XWiki Affected by Reflected Cross-Site Scripting (XSS) in Error Messages](https://junglewise.ai/threats/cve-2026-24128-xwiki-affected-by-reflected-cross-site-scripting-xss-in-error)
- [XWiki vulnerable to a reflected XSS via xredirect parameter in DeleteApplication](https://junglewise.ai/threats/cve-2025-66472-xwiki-platform-is-a-generic-wiki-platform-offering-runtime)
- [XWiki allows Reflected XSS in two templates](https://junglewise.ai/threats/cve-2025-32430-xwiki-allows-reflected-xss-in-two-templates)
- [In XWiki Platform, payloads stored in content is executed when a user with script/programming right edit them](https://junglewise.ai/threats/cve-2024-43401-in-xwiki-platform-payloads-stored-in-content-is-executed-when-a)
