Skip to content
Heist/ feed
Back to feed
Critical

XWiki Platform vulnerable to reflected cross-site scripting via xredirect parameter in deletespace template

Type: advisorySources: OSV

XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. Users are able to forge an URL with a payload allowing to inject Javascript in the page (XSS). It's possible to exploit the deletespace template to perform a XSS, e.g. by using URL such as: > xwiki/bin/deletespace/Sandbox/?xredirect=javascript:alert(document.domain). This vulnerability exists since XWiki 3.4-milestone-1. The vulnerability has been patched in XWiki 14.10.5 and 15.1-rc-1.

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

Source evidence

XWiki Platform vulnerable to reflected cross-site scripting via xredirect parameter in deletespace template

core-osv · Original source

Published 23 Jun 2023, 18:34 UTC

XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. Users are able to forge an URL with a payload allowing to inject Javascript in the page (XSS). It's possible to exploit the deletespace template to perform a XSS, e.g. by using URL such as: > xwiki/bin/deletespace/Sandbox/?xredirect=javascript:alert(document.domain). This vulnerability exists since XWiki 3.4-milestone-1. The vulnerability has been patched in XWiki 14.10.5 and 15.1-rc-1.

osv:CVE-2023-35159
Complete source record
{
  "id": "9b5537384ab12a54bcf9508962af7b5e9404658861e85feca694bb073c07e9f4",
  "url": "https://osv.dev/vulnerability/CVE-2023-35159",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "XWiki Platform vulnerable to reflected cross-site scripting via xredirect parameter in deletespace template",
    "summary": "XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. Users are able to forge an URL with a payload allowing to inject Javascript in the page (XSS). It's possible to exploit the deletespace template to perform a XSS, e.g. by using URL such as: > xwiki/bin/deletespace/Sandbox/?xredirect=javascript:alert(document.domain). This vulnerability exists since XWiki 3.4-milestone-1. The vulnerability has been patched in XWiki 14.10.5 and 15.1-rc-1.",
    "evidence": "osv:CVE-2023-35159",
    "products": [],
    "severity": "critical",
    "structured": {
      "id": "CVE-2023-35159",
      "aliases": [
        "CVE-2023-35159",
        "GHSA-x234-mg7q-m8g8"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/xwiki/xwiki-commons",
              "type": "GIT",
              "events": [
                {
                  "introduced": "b9ee5084c8b7b1c2a3d6be8352544cc0699b8ebd"
                },
                {
                  "fixed": "8dfb9fcb4f456c70f82ea670ca0e2f3dee373ee4"
                },
                {
                  "introduced": "a188f769b095332e35d518a3312eeb736598feec"
                },
                {
                  "last_affected": "fdba4ca1398766e912f7888af5bdefbeef60d8b0"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "3.5"
                      },
                      {
                        "fixed": "14.10.5"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:xwiki:xwiki:3.4:milestone-1:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "3.4-milestone\\-1"
                      },
                      {
                        "last_affected": "3.4-milestone\\-1"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:xwiki:xwiki:15.0:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "15.0"
                      },
                      {
                        "last_affected": "15.0"
                      }
                    ],
                    "source": "CPE_STRING"
                  }
                ]
              }
            },
            {
              "repo": "https://github.com/xwiki/xwiki-platform",
              "type": "GIT",
              "events": [
                {
                  "introduced": "c976070117be44fd3d51affd0d4f9bb20c7ef6e0"
                },
                {
                  "fixed": "0cb75bab7ac0c3ecbd0429e88726435b55970c8e"
                },
                {
                  "introduced": "1a463781cc1a4632526b7cb95493672720dc3e1a"
                },
                {
                  "fixed": "5c20ff5e3bdea50f1053fe99a27e011b8d0e4b34"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "3.5"
                      },
                      {
                        "fixed": "14.10.5"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:xwiki:xwiki:3.4:milestone-1:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "3.4-milestone\\-1"
                      },
                      {
                        "last_affected": "3.4-milestone\\-1"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:xwiki:xwiki:15.0:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "15.0"
                      },
                      {
                        "last_affected": "15.0"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "range": [
                      {
                        "fixed": "5c20ff5e3bdea50f1053fe99a27e011b8d0e4b34"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "15.0",
            "3.4-milestone\\-1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-35159.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:25.912326906Z",
      "provider": "osv",
      "references": [
        "https://jira.xwiki.org/browse/XWIKI-20583",
        "https://jira.xwiki.org/browse/XWIKI-20612",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/35xxx/CVE-2023-35159.json",
        "https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-x234-mg7q-m8g8",
        "https://nvd.nist.gov/vuln/detail/CVE-2023-35159",
        "https://github.com/xwiki/xwiki-platform/commit/5c20ff5e3bdea50f1053fe99a27e011b8d0e4b34"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-87"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/35xxx/CVE-2023-35159.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2023-35159",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 492613,
  "published_at": "2023-06-23T18:34:17.641+00:00"
}