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
Real-World Exposure
org.xwiki.platform:xwiki-platform-wysiwyg-api☕org.xwiki.platform:xwiki-platform-wysiwyg-api☕org.xwiki.platform:xwiki-platform-wysiwyg-apiReal-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
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| ☕Maven | org.xwiki.platform:xwiki-platform-wysiwyg-api | ≥ 13.5-rc-1&&< 15.10.13 | 15.10.13 |
| ☕Maven | org.xwiki.platform:xwiki-platform-wysiwyg-api | ≥ 16.0.0-rc-1&&< 16.4.4 | 16.4.4 |
| ☕Maven | org.xwiki.platform:xwiki-platform-wysiwyg-api | ≥ 16.5.0-rc-1&&< 16.8.0 | 16.8.0 |
Detection & mitigation playbook
Open-source dependencyDetect
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.
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.
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.
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
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.