# CVE-2022-36096: XWiki Platform vulnerable to Cross-site Scripting in the deleted attachments list

- Severity: High 8.9 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 61.1%, higher than 99% of CVEs (2026-12-02)
- Published: 2022-09-08T20:30:13.000Z
- Modified: 2026-06-17T04:52:54.690Z
- Also known as: GHSA-gjmq-x5x7-wc36
- Weaknesses: CWE-79, CWE-80
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

## Description

The XWiki Platform Index UI is an Index of all pages, attachments, orphans and deleted pages and attachments for XWiki Platform, a generic wiki platform. Prior to versions 13.10.6 and 14.3, it's possible to store JavaScript which will be executed by anyone viewing the deleted attachments index with an attachment containing javascript in its name. This issue has been patched in XWiki 13.10.6 and 14.3. As a workaround, modify fix the vulnerability by editing the wiki page `XWiki.DeletedAttachments` with the object editor, open the `JavaScriptExtension` object and apply on the content the changes that can be found on the fix commit.

(As written by CVE List.)

## Affected

- xwiki xwiki-platform: >= 2.2-milestone-1, < 13.10.6; >= 14.0, < 14.3
- org.xwiki.platform:xwiki-platform-index-ui (Maven): from 2.2-milestone-1 before 13.10.6; from 14.0 before 14.3
- xwiki xwiki: from 2.3 before 13.10.6; from 14.0 before 14.3; 2.2

## Every score

- GitHub_M: CVSS:3.1 8.9 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:L`
- GitHub: CVSS:3.1 8.9 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:L`
- NVD: CVSS:3.1 9.0 Critical `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H`

## References

- <https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-gjmq-x5x7-wc36> (third-party-advisory, web)
- <https://github.com/xwiki/xwiki-platform/commit/6705b0cd0289d1c90ed354bd4ecc1508c4b25745> (patch, third-party-advisory, web)
- <https://jira.xwiki.org/browse/XWIKI-19613> (vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-36096> (advisory)
- <https://github.com/xwiki/xwiki-platform> (package)

## Sources

- CVE List: [CVE-2022-36096](https://www.cve.org/CVERecord?id=CVE-2022-36096), CVE Terms of Use, modified 2025-04-23
- GitHub Advisory Database: [GHSA-gjmq-x5x7-wc36](https://github.com/advisories/GHSA-gjmq-x5x7-wc36), CC-BY-4.0, modified 2023-11-08
- NVD: [CVE-2022-36096](https://nvd.nist.gov/vuln/detail/CVE-2022-36096), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-36096 · Whole record: https://cve.day/CVE-2022-36096.json · Rebuilt by cve.day 2026-11-25T22:58:14.780Z
