Skip to content
Heist/ feed
Back to feed
Critical

Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection') in org.xwiki.platform:xwiki-platform-skin-ui

Type: advisorySources: OSV

XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. Improper escaping in the document `SkinsCode.XWikiSkinsSheet` leads to an injection vector from view right on that document to programming rights, or in other words, it is possible to execute arbitrary script macros including Groovy and Python macros that allow remote code execution including unrestricted read and write access to all wiki contents. The attack works by opening a non-existing page with a name crafted to contain a dangerous payload. It is possible to check if an existing installation is vulnerable. See the linked GHSA for instructions on testing an installation. This issue has been patched in XWiki 14.4.8, 14.10.4 and 15.0-rc-1. Users are advised to upgrade. The fix commit `d9c88ddc` can also be applied manually to the impacted document `SkinsCode.XWikiSkinsSheet` and users unable to upgrade are advised to manually patch their installations.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2023-37462
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 13:51 UTC · Revision 1

Source evidence

Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection') in org.xwiki.platform:xwiki-platform-skin-ui

core-osv · Original source

Published 14 Jul 2023, 20:39 UTC

XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. Improper escaping in the document `SkinsCode.XWikiSkinsSheet` leads to an injection vector from view right on that document to programming rights, or in other words, it is possible to execute arbitrary script macros including Groovy and Python macros that allow remote code execution including unrestricted read and write access to all wiki contents. The attack works by opening a non-existing page with a name crafted to contain a dangerous payload. It is possible to check if an existing installation is vulnerable. See the linked GHSA for instructions on testing an installation. This issue has been patched in XWiki 14.4.8, 14.10.4 and 15.0-rc-1. Users are advised to upgrade. The fix commit `d9c88ddc` can also be applied manually to the impacted document `SkinsCode.XWikiSkinsSheet` and users unable to upgrade are advised to manually patch their installations.

osv:CVE-2023-37462
Complete source record
{
  "id": "f377a5083d434a3a8cd4d5b74ac8ef551738cfbd9f038e06af46820014d0b1ef",
  "url": "https://osv.dev/vulnerability/CVE-2023-37462",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection') in org.xwiki.platform:xwiki-platform-skin-ui",
    "summary": "XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. Improper escaping in the document `SkinsCode.XWikiSkinsSheet` leads to an injection vector from view right on that document to programming rights, or in other words, it is possible to execute arbitrary script macros including Groovy and Python macros that allow remote code execution including unrestricted read and write access to all wiki contents. The attack works by opening a non-existing page with a name crafted to contain a dangerous payload. It is possible to check if an existing installation is vulnerable. See the linked GHSA for instructions on testing an installation. This issue has been patched in XWiki 14.4.8, 14.10.4 and 15.0-rc-1. Users are advised to upgrade. The fix commit `d9c88ddc` can also be applied manually to the impacted document `SkinsCode.XWikiSkinsSheet` and users unable to upgrade are advised to manually patch their installations.",
    "evidence": "osv:CVE-2023-37462",
    "products": [],
    "severity": "critical",
    "structured": {
      "id": "CVE-2023-37462",
      "aliases": [
        "CVE-2023-37462",
        "GHSA-h4vp-69r8-gvjg"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/xwiki/xwiki-commons",
              "type": "GIT",
              "events": [
                {
                  "introduced": "c7f23f5f932a16d45f170999e335bf0c751fe5bc"
                },
                {
                  "fixed": "48ee3193230753aecf8a86d7c8ff3e8f869e8330"
                },
                {
                  "introduced": "bae1e23e73cafc007e5f28b39a04bfa0acf0199c"
                },
                {
                  "fixed": "dfd0eff6a9f28f5a8840a5e4a51f0a24524c0280"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "7.0"
                      },
                      {
                        "fixed": "14.4.8"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "14.5"
                      },
                      {
                        "fixed": "14.10.4"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            },
            {
              "repo": "https://github.com/xwiki/xwiki-platform",
              "type": "GIT",
              "events": [
                {
                  "introduced": "42a2427576faf55de0b2746b216ffd2cba0a67d0"
                },
                {
                  "fixed": "b469b950e7fe3d22f00b639d43f286bf871472b1"
                },
                {
                  "introduced": "ab4dfeaeef13360eebcaa507bc652073aa89a427"
                },
                {
                  "fixed": "c127075e7814ef7cd164bb6493d67b1943b6db1e"
                },
                {
                  "fixed": "d9c88ddc4c0c78fa534bd33237e95dea66003d29"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "7.0"
                      },
                      {
                        "fixed": "14.4.8"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "14.5"
                      },
                      {
                        "fixed": "14.10.4"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "d9c88ddc4c0c78fa534bd33237e95dea66003d29"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-37462.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:28.778749974Z",
      "provider": "osv",
      "references": [
        "https://jira.xwiki.org/browse/XWIKI-20457",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/37xxx/CVE-2023-37462.json",
        "https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-h4vp-69r8-gvjg",
        "https://nvd.nist.gov/vuln/detail/CVE-2023-37462",
        "https://github.com/xwiki/xwiki-platform/commit/d9c88ddc4c0c78fa534bd33237e95dea66003d29"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-74",
          "CWE-95"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/37xxx/CVE-2023-37462.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2023-37462",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 495794,
  "published_at": "2023-07-14T20:39:05.941+00:00"
}