Skip to content
Heist/ feed
Back to feed
Medium

Cross-site Scripting (XSS) in Special:RequestWikiQueue when displaying sitename in CreateWiki

Type: advisorySources: OSV

CreateWiki is an extension used at Miraheze for requesting & creating wikis. The name of requested wikis is not escaped on Special:RequestWikiQueue, so a user can insert arbitrary HTML that is displayed in the request wiki queue when requesting a wiki. If a wiki creator comes across the XSS payload, their user session can be abused to retrieve deleted wiki requests, which typically contains private information. Likewise, this can also be abused on those with the ability to suppress requests to view sensitive information. This issue has been patched with commit `693a220` and all users are advised to apply the patch. Users unable to upgrade should disable Javascript and/or prevent access to the vulnerable page (Special:RequestWikiQueue).

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2024-47781
Confirmed fixed CVEs
Not specified
Updated in this feed
5 Nov 2026, 02:14 UTC · Revision 1

Source evidence

Cross-site Scripting (XSS) in Special:RequestWikiQueue when displaying sitename in CreateWiki

core-osv · Original source

Published 7 Oct 2024, 21:30 UTC

CreateWiki is an extension used at Miraheze for requesting & creating wikis. The name of requested wikis is not escaped on Special:RequestWikiQueue, so a user can insert arbitrary HTML that is displayed in the request wiki queue when requesting a wiki. If a wiki creator comes across the XSS payload, their user session can be abused to retrieve deleted wiki requests, which typically contains private information. Likewise, this can also be abused on those with the ability to suppress requests to view sensitive information. This issue has been patched with commit `693a220` and all users are advised to apply the patch. Users unable to upgrade should disable Javascript and/or prevent access to the vulnerable page (Special:RequestWikiQueue).

osv:CVE-2024-47781
Complete source record
{
  "id": "8e18a9527cdb7c166ae2e724fe05405852ea543fdf16c78e26de6addfc761cda",
  "url": "https://osv.dev/vulnerability/CVE-2024-47781",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Cross-site Scripting (XSS) in Special:RequestWikiQueue when displaying sitename in CreateWiki",
    "summary": "CreateWiki is an extension used at Miraheze for requesting & creating wikis. The name of requested wikis is not escaped on Special:RequestWikiQueue, so a user can insert arbitrary HTML that is displayed in the request wiki queue when requesting a wiki. If a wiki creator comes across the XSS payload, their user session can be abused to retrieve deleted wiki requests, which typically contains private information. Likewise, this can also be abused on those with the ability to suppress requests to view sensitive information. This issue has been patched with commit `693a220` and all users are advised to apply the patch. Users unable to upgrade should disable Javascript and/or prevent access to the vulnerable page (Special:RequestWikiQueue).",
    "evidence": "osv:CVE-2024-47781",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2024-47781",
      "aliases": [
        "CVE-2024-47781",
        "GHSA-h527-jh77-5g7j"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/miraheze/createwiki",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "693a220f399ee7eb4d00e77c3c667e864b1bd306"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "fixed": "693a220f399ee7eb4d00e77c3c667e864b1bd306"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-47781.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:41.993435546Z",
      "provider": "osv",
      "references": [
        "https://issue-tracker.miraheze.org/T12693",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/47xxx/CVE-2024-47781.json",
        "https://github.com/miraheze/CreateWiki/security/advisories/GHSA-h527-jh77-5g7j",
        "https://nvd.nist.gov/vuln/detail/CVE-2024-47781",
        "https://github.com/miraheze/CreateWiki/commit/693a220f399ee7eb4d00e77c3c667e864b1bd306"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-79"
        ],
        "cna_assigner": "GitHub_M",
        "unresolved_ranges": [
          {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "commits before 693a220f399ee7eb4d00e77c3c667e864b1bd306"
                  },
                  {
                    "last_affected": "commits before 693a220f399ee7eb4d00e77c3c667e864b1bd306"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandaloneSingleVersion"
              }
            ]
          }
        ],
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/47xxx/CVE-2024-47781.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2024-47781",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 509433,
  "published_at": "2024-10-07T21:30:23.058+00:00"
}