ghsa-cmvg-w72j-7phx
Vulnerability from github
Published
2023-04-12 20:38
Modified
2023-04-26 22:16
Severity ?
Summary
org.xwiki.platform:xwiki-platform-skin-skinx vulnerable to basic Cross-site Scripting by exploiting JSX or SSX plugins
Details

Impact

There was no check in the author of a JavaScript xobject or StyleSheet xobject added in a XWiki document, so until now it was possible for a user having only Edit Right to create such object and to craft a script allowing to perform some operations when executing by a user with appropriate rights.

Patches

This has been patched in XWiki 14.9-rc-1 by only executing the script if the author of it has Script right.

Workarounds

The only known workaround consists in applying the following patch and rebuilding and redeploying xwiki-platform-skin-skinx.

For more information

If you have any questions or comments about this advisory: * Open an issue in Jira * Email us at Security ML

Show details on source website


{
   affected: [
      {
         package: {
            ecosystem: "Maven",
            name: "org.xwiki.platform:xwiki-platform-skin-skinx",
         },
         ranges: [
            {
               events: [
                  {
                     introduced: "3.0-milestone-1",
                  },
                  {
                     fixed: "14.9-rc-1",
                  },
               ],
               type: "ECOSYSTEM",
            },
         ],
      },
   ],
   aliases: [
      "CVE-2023-29206",
   ],
   database_specific: {
      cwe_ids: [
         "CWE-79",
      ],
      github_reviewed: true,
      github_reviewed_at: "2023-04-12T20:38:47Z",
      nvd_published_at: "2023-04-15T16:15:00Z",
      severity: "CRITICAL",
   },
   details: "### Impact\n\nThere was no check in the author of a JavaScript xobject or StyleSheet xobject added in a XWiki document, so until now it was possible for a user having only Edit Right to create such object and to craft a script allowing to perform some operations when executing by a user with appropriate rights. \n\n### Patches\n\nThis has been patched in XWiki 14.9-rc-1 by only executing the script if the author of it has Script right. \n\n### Workarounds\n\nThe only known workaround consists in applying [the following patch](https://github.com/xwiki/xwiki-platform/commit/fe65bc35d5672dd2505b7ac4ec42aec57d500fbb) and rebuilding and redeploying `xwiki-platform-skin-skinx`.\n\n### For more information\nIf you have any questions or comments about this advisory:\n* Open an issue in [Jira](http://jira.xwiki.org)\n* Email us at [Security ML](mailto:security@xwiki.org)\n",
   id: "GHSA-cmvg-w72j-7phx",
   modified: "2023-04-26T22:16:39Z",
   published: "2023-04-12T20:38:47Z",
   references: [
      {
         type: "WEB",
         url: "https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-cmvg-w72j-7phx",
      },
      {
         type: "ADVISORY",
         url: "https://nvd.nist.gov/vuln/detail/CVE-2023-29206",
      },
      {
         type: "WEB",
         url: "https://github.com/xwiki/xwiki-platform/commit/fe65bc35d5672dd2505b7ac4ec42aec57d500fbb",
      },
      {
         type: "PACKAGE",
         url: "https://github.com/xwiki/xwiki-platform",
      },
      {
         type: "WEB",
         url: "https://jira.xwiki.org/browse/XWIKI-19514",
      },
      {
         type: "WEB",
         url: "https://jira.xwiki.org/browse/XWIKI-19583",
      },
      {
         type: "WEB",
         url: "https://jira.xwiki.org/browse/XWIKI-9119",
      },
   ],
   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:H",
         type: "CVSS_V3",
      },
   ],
   summary: "org.xwiki.platform:xwiki-platform-skin-skinx vulnerable to basic Cross-site Scripting by exploiting JSX or SSX plugins",
}


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.