🛡️ CVE-2022-36094 — xwiki

🟠 CVSS 8.9 — High ✅ No Known Exploit CWE-79 NVD
8.9
CVSS Score
0 Low4 Medium7 High9 Critical10

Description

XWiki Platform Web Parent POM vulnerable to XSS in the attachment history

Impact

It's possible to store a JavaScript which will be executed by anyone viewing the history of an attachment containing javascript in its name.

For example, attachment a file with name ><img src=1 onerror=alert(1)>.jpg will execute the alert.

Patches

This issue has been patched in XWiki 13.10.6 and 14.3RC1.

Workarounds

It is possible to replace viewattachrev.vm, the entry point for this attack, by a [patch](https://github.com/xwiki/xwiki-platform/commit/047ce9fa4a7c13f3883438aaf54fc50f287a7e8e)ed version from the patch without updating XWiki.

References

  • https://jira.xwiki.org/browse/XWIKI-19612

For more information

If you have any questions or comments about this advisory:

How this vulnerability can be exploited

This issue can be reached over the network, attack complexity is low, an attacker needs low-level privileges on the target. A user must be tricked into taking some action. The scope is changed, meaning a successful attack can affect components beyond the vulnerable one. Rated impact: confidentiality high, integrity high, availability low.

Weakness class

CVE-2022-36094 is classified as CWE-79: Cross-site Scripting (XSS). User-supplied data is written into a page without escaping, so attacker script runs in the browser of anyone who views it.

Affected software

CVE-2022-36094 is recorded against 2 packages.

  • org.xwiki.platform:xwiki-platform-web (from 14.0 up to 14.3-rc-1)
  • xwiki (from 14.0 up to 14.3)

Timeline and source

Published on 16 September 2022 and last revised on 8 November 2023. No public exploit is currently recorded for this entry. A vendor advisory or fix has been published. Record sourced from NVD.

References

github.com (Web)
nvd.nist.gov (Advisory)
github.com (Web)
github.com (Package)
jira.xwiki.org (Web)

Details

Severity HIGH
CVSS Score 8.9
CVSS Vector CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:L
CWE CWE-79
Public Exploit ✅ No
Source NVD
Published 2022-09-16
Updated 2026-08-12
Modified 2023-11-08

Affected Packages

Software From version Fixed in
org.xwiki.platform:xwiki-platform-web 14.0 14.3-rc-1
xwiki 14.0 14.3

Similar Threats

Site Security Check

Is xwiki part of your stack?

CVE-2022-36094 is rated CVSS 8.9 High. BotEraser scans your installation against known CVE records and tells you whether this vulnerability applies to the versions you actually run.

Scan My Site Free →

No credit card required  ·  Results in minutes

ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.

Browse related advisories

All advisoriesCVECVE 2022