Your RSA-2048 keys break in 2030. Find every one of them before attackers do.
Maven
Not in CISA KEV
MEDIUM severity

GHSA-pjhg-9wr9-rj96

MEDIUMFix: xwiki/xwiki-platform@6dab790

GHSA-pjhg-9wr9-rj96 is a medium-severity (CVSS 6.1) Open Redirect vulnerability in org.xwiki.platform:xwiki-platform-wysiwyg-api. O3 Security confirms whether GHSA-pjhg-9wr9-rj96 is actually reachable in your code before you act, and blocks exploitation at runtime until you patch.

org.xwiki.platform:xwiki-platform-wysiwyg-api Open Redirect vulnerability

Also known asCVE-2025-32970
Published
Apr 29, 2025
Updated
Apr 30, 2025
Affected
3 pkgs
Patched
3 / 3
Exploits
None indexed
Exploitation data as of Apr 30, 2025 · OSV.dev, NVD, FIRST.org (EPSS)

Real-World Exposure

3 pkgs affected
org.xwiki.platform:xwiki-platform-wysiwyg-apiorg.xwiki.platform:xwiki-platform-wysiwyg-apiorg.xwiki.platform:xwiki-platform-wysiwyg-api

Real-time download stats are indexed for npm and PyPI packages. This vulnerability affects Maven packages — download data is not available via public APIs for these ecosystems.

Description

Impact

An open redirect vulnerability in the HTML conversion request filter allows attackers to construct URLs on an XWiki instance that redirect to any URL. To reproduce, open <xwiki-host>/xwiki/bin/view/Main/?foo=bar&foo_syntax=invalid&RequiresHTMLConversion=foo&xerror=https://www.example.com/ where <xwiki-host> is the URL of your XWiki installation.

Patches

This bug has been fixed in XWiki 15.10.13, 16.4.4 and 16.8.0 by validating the domain of the redirect URL against the configured safe domains and the current request's domain.

Workarounds

A web application firewall could be configured to reject requests with the xerror parameter as from our analysis this parameter isn't used anymore. For requests with the RequiresHTMLConversion parameter set, the referrer URL should be checked if it points to the XWiki installation. Apart from that, we're not aware of any workarounds.

Affected Packages

3 total 3 fixed
EcosystemPackageVulnerable rangeFix
Mavenorg.xwiki.platform:xwiki-platform-wysiwyg-api13.5-rc-1&&< 15.10.1315.10.13
Mavenorg.xwiki.platform:xwiki-platform-wysiwyg-api16.0.0-rc-1&&< 16.4.416.4.4
Mavenorg.xwiki.platform:xwiki-platform-wysiwyg-api16.5.0-rc-1&&< 16.8.016.8.0

Detection & mitigation playbook

Open-source dependency
  1. Detect

    Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for org.xwiki.platform:xwiki-platform-wysiwyg-api. O3's reachability analysis confirms whether the vulnerable code path is actually invoked in your application, so you act on real exposure instead of every transitive match.

  2. Fix

    Update org.xwiki.platform:xwiki-platform-wysiwyg-api to 15.10.13 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-pjhg-9wr9-rj96 is resolved across your whole dependency graph.

  3. Workarounds

    If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.

  4. How O3 protects you

    O3 pinpoints whether GHSA-pjhg-9wr9-rj96 is reachable in your code and exactly where to fix it, then blocks exploitation in production at runtime until the patched version is deployed.

Tailored to GHSA-pjhg-9wr9-rj96. Runtime protection reduces exposure until a permanent patch is applied and verified — it complements patching, it doesn't replace it.

Frequently Asked Questions

### Impact An open redirect vulnerability in the HTML conversion request filter allows attackers to construct URLs on an XWiki instance that redirect to any URL. To reproduce, open `<xwiki-host>/xwiki/bin/view/Main/?foo=bar&foo_syntax=invalid&RequiresHTMLConversion=foo&xerror=https://www.example.com/` where `<xwiki-host>` is the URL of your XWiki installation. ### Patches This bug has been fixed in XWiki 15.10.13, 16.4.4 and 16.8.0 by validating the domain of the redirect URL against the configured safe domains and the current request's domain. ### Workarounds A web application firewall cou
O3 Security · Impact-Aware SCA

Is GHSA-pjhg-9wr9-rj96 in your dependencies?

O3 detects GHSA-pjhg-9wr9-rj96 across Maven dependencies and uses function-level reachability to confirm whether the vulnerable code path is actually reachable — not just present. No false positives.