SecurityContext

CVE-2022-36096: XWiki Platform - Stored XSS

  • Cve: CVE-2022-36096
  • Name: XWiki Platform - Stored XSS
  • 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.
  • Impact: Attackers can execute arbitrary JavaScript in the context of the affected wiki, potentially leading to session hijacking or defacement.
  • Remediation: Update to version 13.10.6 or 14.3, or modify the `XWiki.DeletedAttachments` page as a workaround.
  • Vulnerability type: stored_xss
  • Vulnerability impact: client_script_exec
  • Requirement type: user_interaction
  • Requirements: Victim must view the deleted attachments index with malicious attachment
  • 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.60225
  • Epss percentile: 0.99159
  • Assignee: [email protected]
  • Published at: 2022-09-08T21:15:07Z
  • Age in days: 1538
  • Modified at: 2026-06-17T04:52:54Z
  • Patch available: yes
  • References total: 3
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2022-36096
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: hackerone

Cwe

IdName
CWE-79Improper Neutralization of Input During Web Page Generation

References

Same in every row:

  • Source: nvd
UrlTags
https://github.com/xwiki/xwiki-platform/commit/6705b0cd0289d1c90ed354bd4ecc1508c4b25745Patch, Third Party Advisory
https://jira.xwiki.org/browse/XWIKI-19613Vendor Advisory
https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-gjmq-x5x7-wc36Third Party Advisory

Products

ProductAffectedPlatform boundSourcesUrl
xwiki:xwiki>= 14.0, < 14.3; >= 2.3, < 13.10.6; = 2.2 milestone1nonvd/v1/products/xwiki/xwiki

Projects

RepositoryLink kindsIndexedUrl
xwiki/xwiki-platformcommit, fix, package, security_advisoryyes/v1/repositories/xwiki/xwiki-platform

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Remote: yes
  • Authentication required: yes
  • Exposed hosts: 142594
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports