# CVE-2025-49582: XWiki's required right warnings for macros are incomplete

Source: https://junglewise.ai/threats/cve-2025-49582-xwiki-s-required-right-warnings-for-macros-are-incomplete  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2025-06-13  
License: CC BY 4.0 with a link back

CVE-2025-49582 · Severity: medium · CVSS 4 · Published 2025-06-13

XWiki's required right warnings for macros are incomplete

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

## Quick answers

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

**How severe is CVE-2025-49582?** Medium severity, with a CVSS score of 4, published 13 June 2025.

**Which products and versions are affected?** org.xwiki.platform:xwiki-platform-rendering-macro-cache (Maven) ECOSYSTEM:introduced=15.9-rc-1,fixed=16.4.7; org.xwiki.platform:xwiki-platform-rendering-macro-context (Maven) ECOSYSTEM:introduced=15.9-rc-1,fixed=16.4.7; org.xwiki.platform:xwiki-platform-rendering-xwiki (Maven) ECOSYSTEM:introduced=15.9-rc-1,fixed=16.4.7; org.xwiki.platform:xwiki-platform-security-requiredrights-default (Maven) ECOSYSTEM:introduced=15.9-rc-1,fixed=16.4.7.

**Is there a fix for CVE-2025-49582?** Yes. org.xwiki.platform:xwiki-platform-rendering-macro-cache (Maven): upgrade to 16.4.7 or later; org.xwiki.platform:xwiki-platform-rendering-macro-context (Maven): upgrade to 16.4.7 or later; org.xwiki.platform:xwiki-platform-rendering-xwiki (Maven): upgrade to 16.4.7 or later; org.xwiki.platform:xwiki-platform-security-requiredrights-default (Maven): upgrade to 16.4.7 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2025-49582?** Check whether you run org.xwiki.platform:xwiki-platform-rendering-macro-cache (Maven), org.xwiki.platform:xwiki-platform-rendering-macro-context (Maven), org.xwiki.platform:xwiki-platform-rendering-xwiki (Maven) or one of the others listed 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-rendering-macro-cache (Maven): upgrade to 16.4.7 or later

  ```sh
  # set org.xwiki.platform:xwiki-platform-rendering-macro-cache to 16.4.7 in your pom.xml or build.gradle
  ```

- org.xwiki.platform:xwiki-platform-rendering-macro-context (Maven): upgrade to 16.4.7 or later

  ```sh
  # set org.xwiki.platform:xwiki-platform-rendering-macro-context to 16.4.7 in your pom.xml or build.gradle
  ```

- org.xwiki.platform:xwiki-platform-rendering-xwiki (Maven): upgrade to 16.4.7 or later

  ```sh
  # set org.xwiki.platform:xwiki-platform-rendering-xwiki to 16.4.7 in your pom.xml or build.gradle
  ```

- org.xwiki.platform:xwiki-platform-security-requiredrights-default (Maven): upgrade to 16.4.7 or later

  ```sh
  # set org.xwiki.platform:xwiki-platform-security-requiredrights-default to 16.4.7 in your pom.xml or build.gradle
  ```


## Affected products

- org.xwiki.platform:xwiki-platform-rendering-macro-cache (Maven) ECOSYSTEM:introduced=15.9-rc-1,fixed=16.4.7
- org.xwiki.platform:xwiki-platform-rendering-macro-context (Maven) ECOSYSTEM:introduced=15.9-rc-1,fixed=16.4.7
- org.xwiki.platform:xwiki-platform-rendering-xwiki (Maven) ECOSYSTEM:introduced=15.9-rc-1,fixed=16.4.7
- org.xwiki.platform:xwiki-platform-security-requiredrights-default (Maven) ECOSYSTEM:introduced=15.9-rc-1,fixed=16.4.7

## Identifiers

- CVE-2025-49582
- GHSA-c32m-27pj-4xcj

## Related threats

- [XWiki does not require right warnings for XClass definitions](https://junglewise.ai/threats/cve-2025-49585-xwiki-does-not-require-right-warnings-for-xclass-definitions)
- [org.xwiki.platform:xwiki-platform-security-requiredrights-default required rights analysis doesn't consider TextAreas…](https://junglewise.ai/threats/cve-2025-32974-org-xwiki-platform-xwiki-platform-security-requiredrights-default)
- [org.xwiki.platform:xwiki-platform-rendering-xwiki vulnerable to stored cross-site scripting via HTML and raw macro](https://junglewise.ai/threats/cve-2023-29205-org-xwiki-platform-xwiki-platform-rendering-xwiki-vulnerable-to)
- [xwiki contains Incorrect Authorization](https://junglewise.ai/threats/cve-2023-26056-xwiki-contains-incorrect-authorization)
