Skip to content
Heist/ feed
Back to feed
High

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

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2022-36094
Confirmed fixed CVEs
Not specified
Updated in this feed
7 Nov 2026, 10:38 UTC · Revision 1

Source evidence

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

core-osv · Original source

Published 8 Sept 2022, 20:10 UTC

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.

osv:CVE-2022-36094
Complete source record
{
  "id": "62b785ed6b1533281a077707fe312bdd437c470a4c413b4a75987ec434bf0409",
  "url": "https://osv.dev/vulnerability/CVE-2022-36094",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "XWiki Platform Web Parent POM vulnerable to XSS in the attachment history",
    "summary": "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.",
    "evidence": "osv:CVE-2022-36094",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2022-36094",
      "aliases": [
        "CVE-2022-36094",
        "GHSA-mxf2-4r22-5hq9"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:L"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/xwiki/xwiki-commons",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "479a47aeb015f634a121f1821642e0cb61dcc3d7"
                },
                {
                  "introduced": "491547c4f74b9be58123ef22081ae7e6840a11c7"
                },
                {
                  "fixed": "58bca6b6f0fb325008ef9147d3c0cdda3e1e306b"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "1.0"
                      },
                      {
                        "fixed": "13.10.6"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "14.0"
                      },
                      {
                        "fixed": "14.3"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            },
            {
              "repo": "https://github.com/xwiki/xwiki-platform",
              "type": "GIT",
              "events": [
                {
                  "introduced": "93d8322eda7b68fd66f33334b982b047d7cf4f36"
                },
                {
                  "fixed": "c3f97150d6997ada95d919857fdc9690ed7ed316"
                },
                {
                  "introduced": "d971304b0e0bf4f6dad278de89518edc17459741"
                },
                {
                  "fixed": "585702c6749495ff837c791127e584668be87d74"
                },
                {
                  "fixed": "047ce9fa4a7c13f3883438aaf54fc50f287a7e8e"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "1.0"
                      },
                      {
                        "fixed": "13.10.6"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "14.0"
                      },
                      {
                        "fixed": "14.3"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "047ce9fa4a7c13f3883438aaf54fc50f287a7e8e"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "xwiki-commons-14.3-rc-1",
            "xwiki-commons-13.10.5",
            "xwiki-commons-13.10.4",
            "xwiki-commons-13.10.3",
            "xwiki-commons-13.10.2",
            "xwiki-commons-13.10.1",
            "xwiki-commons-13.10",
            "xwiki-commons-13.10-rc-1",
            "xwiki-commons-8.3-milestone-2",
            "xwiki-commons-8.3-milestone-1",
            "xwiki-commons-8.2-milestone-2",
            "xwiki-commons-8.2-milestone-1",
            "xwiki-commons-8.1-milestone-2",
            "xwiki-commons-8.1-milestone-1",
            "xwiki-commons-8.0-milestone-2",
            "xwiki-commons-8.0-milestone-1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-36094.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:50.428095292Z",
      "provider": "osv",
      "references": [
        "https://jira.xwiki.org/browse/XWIKI-19612",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/36xxx/CVE-2022-36094.json",
        "https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-mxf2-4r22-5hq9",
        "https://nvd.nist.gov/vuln/detail/CVE-2022-36094",
        "https://github.com/xwiki/xwiki-platform/commit/047ce9fa4a7c13f3883438aaf54fc50f287a7e8e"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-79",
          "CWE-80"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/36xxx/CVE-2022-36094.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2022-36094",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 519027,
  "published_at": "2022-09-08T20:10:09+00:00"
}