CVE-2022-36094
criticalpriority · attend · 59EPSS 0.648 · 99 %ileEUUSEPSS · scored 2026-10-26
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · high–critical · 8.9–9
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (6)
Products and version ranges known to be affected.
- Maven org.xwiki.platform:xwiki-platform-web1.0 → 13.10.6osvUSpkg:maven/org.xwiki.platform/xwiki-platform-web
- Maven org.xwiki.platform:xwiki-platform-web14.0 → 14.3-rc-1osvUSpkg:maven/org.xwiki.platform/xwiki-platform-web
advisories (1)
Vendor and ecosystem advisories describing this.
- GHSA-mxf2-4r22-5hq9XWiki Platform Web Parent POM vulnerable to XSS in the attachment history2022-09-16ghsa · osvUS
### 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: * Open an issue in [Jira XWiki.org](https://jira.xwiki.org/) * Email us at [Security Mailing List](mailto:security@xwiki.org)
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (10)
External citations — patches, advisories, analysis.
- https://cxsecurity.com/cveshow/CVE-2022-36094/cnnvd
- https://github.com/xwiki/xwiki-platform/commit/047ce9fa4a7c13f3883438aaf54fc50f287a7e8ecnnvd
- https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-mxf2-4r22-5hq9cnnvd
- https://jira.xwiki.org/browse/XWIKI-19612cnnvd
- https://github.com/xwiki/xwiki-platform/commit/047ce9fa4a7c13f3883438aaf54fc50f287a7e8eenisa_euvd
- https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-mxf2-4r22-5hq9enisa_euvd
- https://jira.xwiki.org/browse/XWIKI-19612enisa_euvd
- https://github.com/xwiki/xwiki-platform/commit/047ce9fa4a7c13f3883438aaf54fc50f287a7e8ePatchThird Party Advisorynvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan