CVE-2022-24821 in Xwiki
XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. Simple users can create global SSX/JSX without specific rights: in theory only users with Programming Rights should be allowed to create SSX or JSX that are executed everywhere on a wiki. But a bug allow anyone w...
Affects 1 product from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, low complexity, low privileges required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, no availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Xwiki | Xwiki | 13.10 ≥ 12.0.0, < 12.10.11 ≥ 13.4.0, < 13.4.6 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. Simple users can create global SSX/JSX without specific rights: in theory only users with Programming Rights should be allowed to create SSX or JSX that are executed everywhere on a wiki. But a bug allow anyone with edit rights to actually create those. This issue has been patched in XWiki 13.10-rc-1, 12.10.11 and 13.4.6. There's no easy workaround for this issue, administrators should upgrade their wiki.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2022-24821 |
|---|---|
| BreachSpider ID | BS-2022-GLOBAL-314378-H |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N |
| Published | 2022-04-08 |
| Last modified | 2024-11-21 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-648: CWE-648
Related attack patterns (CAPEC)
CAPEC-107 Cross Site Tracing via CWE-648
CAPEC-234 Hijacking a privileged process via CWE-648
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
A vulnerability in XWiki Platform allows users with edit rights to create global SSX/JSX scripts, which should only be possible for users with Programming Rights. This could lead to unauthorized execution of scripts across the wiki.
An attacker with edit rights can create malicious SSX/JSX scripts that will be executed globally on the wiki, potentially leading to unauthorized access, data manipulation, or other malicious activities.
Questions
What is CVE-2022-24821?
A vulnerability in XWiki Platform allows users with edit rights to create global SSX/JSX scripts, which should only be possible for users with Programming Rights. This could lead to unauthorized execution of scripts across the wiki.
What is the CVSS score for CVE-2022-24821?
CVE-2022-24821 has CVSS 8.1 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N. EPSS: 0.8%.
Is CVE-2022-24821 actively exploited?
No confirmed active exploitation of CVE-2022-24821 as of 2026-05-30.
How do I remediate CVE-2022-24821?
Priority: IMMEDIATE.
What systems are affected by CVE-2022-24821?
CVE-2022-24821 affects Xwiki Xwiki.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Xwiki","product":"Xwiki","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2024-11-21.