org.xwiki.platform:xwiki-platform-security-authentication-default XSS with authenticate endpointsGHSA-jjm5-5v9v-7hx2
MEDIUMFix: xwiki/xwiki-platform@1943ea2GHSA-jjm5-5v9v-7hx2 is a medium-severity (CVSS 5.4) Cross-site Scripting (XSS) vulnerability in org.xwiki.platform:xwiki-platform-security-authentication-default. 2 public exploit or proof-of-concept references are indexed, so weaponization risk is real. A fix is available for org.xwiki.platform:xwiki-platform-security-authentication-default — see the affected versions and patch details below.
Exploitation Status
Proof-of-concept exploit code exists
- CISA’s SSVC triage found public proof-of-concept exploit code for this CVE, though no confirmed active exploitation.
Exploitation and automatability from CISA’s SSVC triage for GHSA-jjm5-5v9v-7hx2.
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
Where this sits among everything scored
Real-World Exposure
org.xwiki.platform:xwiki-platform-security-authentication-default☕org.xwiki.platform:xwiki-platform-security-authentication-default☕org.xwiki.platform:xwiki-platform-security-authentication-defaultReal-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
It was possible to inject some code using the URL of authenticate endpoints, e.g.:
https://hostname/xwiki/authenticate/wiki/xwiki%22onload=%22alert(origin)%22/resetpassword
This vulnerability was present in recent versions of XWiki:
- 13.10.8+
- 14.4.3+
- 14.6+
Patches
This problem has been patched on XWiki 13.10.11, 14.4.7 and 14.10.
Workarounds
There is no easy workaround except to upgrade.
References
- https://jira.xwiki.org/browse/XWIKI-20335
- https://github.com/xwiki/xwiki-platform/commit/1943ea26c967ef868fb5f67c487d98d97cba0380
For more information
If you have any questions or comments about this advisory:
- Open an issue in Jira
- Email us at security mailing-list
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| ☕Maven | org.xwiki.platform:xwiki-platform-security-authentication-default | ≥ 13.10.8&&< 13.10.11 | 13.10.11org.xwiki.platform:xwiki-platform-security-authentication-default:13.10.11 |
| ☕Maven | org.xwiki.platform:xwiki-platform-security-authentication-default | ≥ 14.4.3&&< 14.4.7 | 14.4.7org.xwiki.platform:xwiki-platform-security-authentication-default:14.4.7 |
| ☕Maven | org.xwiki.platform:xwiki-platform-security-authentication-default | ≥ 14.6&&< 14.10 | 14.10org.xwiki.platform:xwiki-platform-security-authentication-default:14.10 |
Affected Products
xwikixwikiResearch use only. For defensive security, authorized penetration testing, and academic research only. Never execute exploit code against systems without explicit written authorization.
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-security-authentication-default, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update org.xwiki.platform:xwiki-platform-security-authentication-default to 13.10.11 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-jjm5-5v9v-7hx2 is resolved across your whole dependency graph.
Workarounds
Escape or sanitise the affected output on the server side rather than relying on client-side filtering, and add a Content-Security-Policy that blocks inline script execution so injected markup cannot run even if it reaches the page.
How to detect GHSA-jjm5-5v9v-7hx2
A community-maintained Nuclei template exists for this CVE. You can scan for it directly:
nuclei -id ghsa-jjm5-5v9v-7hx2 -u https://target- Template
- XWiki >= 13.10.8 - Cross-Site Scripting
- Severity
- medium
- Impact
- Successful exploitation could allow an attacker to execute malicious scripts in the context of the victim's browser.
- Remediation
- Implement proper input validation and output encoding to prevent XSS attacks in the XWiki application.
Template by ProjectDiscovery nuclei-templates (ritikchaddha), MIT licensed. View the full template. Scan only systems you are authorised to test.
Frequently Asked Questions
Is GHSA-jjm5-5v9v-7hx2 in your dependencies?
Find it across Maven, including transitive dependencies.