Skip to main content
Public proof of conceptFix available

CVE-2022-36098

A public proof of concept exists; no exploitation attested.

  • Published2022-09-08
  • Fixed in14.4 · 13.10.6
  • WeaknessCWE-79

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

Description

XWiki Platform Mentions UI is a user interface for mentioning users in wiki content for XWiki Platform, a generic wiki platform. Starting in version 12.5-rc-1 and prior to versions 13.10.6 and 14.4, it's possible to store Javascript or groovy scripts in a mention, macro anchor, or reference field. The stored code is executed by anyone visiting the page with the mention. This issue has been patched on XWiki 14.4 and 13.10.6. As a workaround, one may update `XWiki.Mentions.MentionsMacro` and edit the `Macro code` field of the `XWiki.WikiMacroClass` XObject.

Timeline

dates in UTC
  1. 2022-09-0821:15CVE publishedNVD

Observed activity

isMalicious corpus · updated 2026-11-03 15:37 UTC
Indicators tagged with this CVE, per day0 indicators over 7 days
Block these indicators
  • Firewall list (EDL, text): https://api.ismalicious.com/edl/cve/CVE-2022-36098?format=txt
  • CSV export: https://api.ismalicious.com/edl/cve/CVE-2022-36098?format=csv
  • TAXII collection of exploited CVEs
  • The EDL and CSV take an API key on the Pro plan.

Versions per branch

NVD · OSV
Xwiki
BranchAffectedFixed in
14.x≥ 14.0, < 14.414.4
13.10≥ 12.5, < 13.10.613.10.6
13.10≥ 12.5-rc-1, < 13.10.613.10.6

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Products declared by the CNA1 product

As GitHub_M, the CNA that assigned this CVE, declared them in the CVE record; versions as written.

  • xwiki-platform
    Affected
    • = >= 12.5-rc-1, < 13.10.6no fix stated
    • = >= 14.0, < 14.4no fix stated

Source: the CNA record (CVE Program), © The MITRE Corporation,CVE Terms of UseCVE recordupdated 2022-09-08

Fix

  1. Update Xwiki to 14.4 · 13.10.6

Advisories and patches

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof-of-concept repositories
none listed
PoC-in-GitHub
Metasploit modules
none listed
Metasploit Framework

Sources

  • CISA-ADPSSVC decisionpoc2025-04-22
  • OpenCVESSVC decisionpoc—
  • CNACVSS 3.18.9known since 2026-10-23
  • NVDCVSS 3.19read 2026-10-23
  • CNAweakness (CWE)CWE-79known since 2026-10-23
  • FIRST EPSSEPSS score71.6 %read 2026-11-02
  • OSVaffected packages—
  • GitHub AdvisoriesadvisoryCRITICAL2022-09-16

Identifiers

Technical details

CVSS v3 Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H
Published
2022-09-08
Last Modified
2026-06-17
NVD status
Modified
GitHub Advisory
GHSA-c5v8-2q4r-5w9v

Frequently asked questions

What is CVE-2022-36098?

XWiki Platform Mentions UI is a user interface for mentioning users in wiki content for XWiki Platform, a generic wiki platform. Starting in version 12.5-rc-1 and prior to versions 13.10.6 and 14.4, it's possible to store Javascript or groovy scripts in a mention, macro anchor, or reference field. The stored code is executed by anyone visiting the page with the mention. This issue has been patched on XWiki 14.4 and 13.10.6. As a workaround, one may update `XWiki.Mentions.MentionsMacro` and edit the `Macro code` field of the `XWiki.WikiMacroClass` XObject.

Is CVE-2022-36098 actively exploited?

A proof-of-concept exploit exists for CVE-2022-36098, but active exploitation has not been confirmed at this time.

What is the CVSS score for CVE-2022-36098?

CVE-2022-36098 has a CVSS v3 base score of 9 (CRITICAL severity), with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H.

Hear about the next vulnerability in your software

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website lookups · 250 API requests/month

Sources for this record