ghsa-mxf2-4r22-5hq9
Vulnerability from github
Published
2022-09-16 17:05
Modified
2022-09-16 17:05
Summary
XWiki Platform Web Parent POM vulnerable to XSS in the attachment history
Details

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 patched 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 * Email us at Security Mailing List

Show details on source website


{
   affected: [
      {
         package: {
            ecosystem: "Maven",
            name: "org.xwiki.platform:xwiki-platform-web",
         },
         ranges: [
            {
               events: [
                  {
                     introduced: "1.0",
                  },
                  {
                     fixed: "13.10.6",
                  },
               ],
               type: "ECOSYSTEM",
            },
         ],
      },
      {
         package: {
            ecosystem: "Maven",
            name: "org.xwiki.platform:xwiki-platform-web",
         },
         ranges: [
            {
               events: [
                  {
                     introduced: "14.0",
                  },
                  {
                     fixed: "14.3-rc-1",
                  },
               ],
               type: "ECOSYSTEM",
            },
         ],
      },
   ],
   aliases: [
      "CVE-2022-36094",
   ],
   database_specific: {
      cwe_ids: [
         "CWE-79",
         "CWE-80",
      ],
      github_reviewed: true,
      github_reviewed_at: "2022-09-16T17:05:12Z",
      nvd_published_at: "2022-09-08T20:15:00Z",
      severity: "HIGH",
   },
   details: "### Impact\n\nIt's possible to store a JavaScript which will be executed by anyone viewing the history of an attachment containing javascript in its name.\n\nFor example, attachment a file with name `><img src=1 onerror=alert(1)>.jpg` will execute the alert.\n\n### Patches\n\nThis issue has been patched in XWiki 13.10.6 and 14.3RC1.\n\n### Workarounds\n\nIt 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.\n\n### References\n\n* https://jira.xwiki.org/browse/XWIKI-19612\n\n### For more information\nIf you have any questions or comments about this advisory:\n* Open an issue in [Jira XWiki.org](https://jira.xwiki.org/)\n* Email us at [Security Mailing List](mailto:security@xwiki.org)\n",
   id: "GHSA-mxf2-4r22-5hq9",
   modified: "2022-09-16T17:05:12Z",
   published: "2022-09-16T17:05:12Z",
   references: [
      {
         type: "WEB",
         url: "https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-mxf2-4r22-5hq9",
      },
      {
         type: "ADVISORY",
         url: "https://nvd.nist.gov/vuln/detail/CVE-2022-36094",
      },
      {
         type: "WEB",
         url: "https://github.com/xwiki/xwiki-platform/commit/047ce9fa4a7c13f3883438aaf54fc50f287a7e8e",
      },
      {
         type: "PACKAGE",
         url: "https://github.com/xwiki/xwiki-platform",
      },
      {
         type: "WEB",
         url: "https://jira.xwiki.org/browse/XWIKI-19612",
      },
   ],
   schema_version: "1.4.0",
   severity: [
      {
         score: "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:L",
         type: "CVSS_V3",
      },
   ],
   summary: "XWiki Platform Web Parent POM vulnerable to XSS in the attachment history",
}


Log in or create an account to share your comment.

Security Advisory comment format.

This schema specifies the format of a comment related to a security advisory.

UUIDv4 of the comment
UUIDv4 of the Vulnerability-Lookup instance
When the comment was created originally
When the comment was last updated
Title of the comment
Description of the comment
The identifier of the vulnerability (CVE ID, GHSA-ID, PYSEC ID, etc.).



Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.