CVE-2022-36094: XWiki Platform - Stored XSS
- Cve: CVE-2022-36094
- Name: XWiki Platform - Stored XSS
- Description: XWiki Platform Web Parent POM contains Web resources for the XWiki platform, a generic wiki platform. Starting with version 1.0 and prior to versions 13.10.6 and 14.30-rc-1, it's possible to store JavaScript which will be executed by anyone viewing the history of an attachment containing javascript in its name. This issue has been patched in XWiki 13.10.6 and 14.3RC1. As a workaround, it is possible to replace `viewattachrev.vm`, the entry point for this attack, by a patched version from the patch without updating XWiki.
- Impact: Attackers can execute arbitrary JavaScript in the context of the affected users, potentially leading to session hijacking or malicious actions.
- Remediation: Update to version 13.10.6 or 14.30-rc-1, or replace `viewattachrev.vm` with a patched version from the provided patch.
- Vulnerability type: stored_xss
- Vulnerability impact: client_script_exec
- Requirement type: user_interaction
- Requirements: Attacker needs to craft a malicious attachment with JavaScript in its name and victim views the attachment history.
- Labels source: projectdiscovery
- Severity: critical
- Cvss score: 9
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H
- Epss score: 0.64794
- Epss percentile: 0.99262
- Assignee: [email protected]
- Published at: 2022-09-08T20:15:08Z
- Age in days: 1538
- Modified at: 2026-06-17T04:52:54Z
- Patch available: yes
- Public exploits total: 1
- References total: 3
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2022-36094
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://jira.xwiki.org/browse/XWIKI-19612 | nvd | 2022-09-08 |
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| https://github.com/xwiki/xwiki-platform/commit/047ce9fa4a7c13f3883438aaf54fc50f287a7e8e | Patch, Third Party Advisory |
| https://jira.xwiki.org/browse/XWIKI-19612 | Exploit, Vendor Advisory |
| https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-mxf2-4r22-5hq9 | Third Party Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| xwiki:xwiki | >= 14.0, < 14.3; >= 1.0, < 13.10.6 | no | nvd | /v1/products/xwiki/xwiki |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| xwiki/xwiki-platform | commit, package, security_advisory | yes | /v1/repositories/xwiki/xwiki-platform |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2022-09-08
- Remote: yes
- Authentication required: yes
- Exposed hosts: 142594
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports