{"id":"CVE-2024-25107","published":"2024-02-08T22:46:39Z","modified":"2025-06-17T21:29:29Z","title":"Cross-Site Scripting in WikiDiscover","vendor":"miraheze","product":"WikiDiscover","tier":"tail","description":{"text":"WikiDiscover is an extension designed for use with a CreateWiki managed farm to display wikis. On Special:WikiDiscover, the `Language::date` function is used when making the human-readable timestamp for inclusion on the wiki_creation column. This function uses interface messages to translate the names of months and days. It uses the `->text()` output mode, returning unescaped interface messages. Since the output is not escaped later, the unescaped interface message is included on the output, resulting in an XSS vulnerability. Exploiting this on-wiki requires the `(editinterface)` right. This vulnerability has been addressed in commit `267e763a0`. Users are advised to update their installations. There are no known workarounds for this vulnerability.","provenance":"source","from":"CVE.org"},"cvss":{"score":4.9,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00577,"percentile":0.41441,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://github.com/miraheze/WikiDiscover/security/advisories/GHSA-cfcf-94jv-455f","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/miraheze/WikiDiscover/commit/267e763a0d7460f001693c42f67717a0fc3fd6bb","tags":["x_refsource_MISC"]},{"url":"https://issue-tracker.miraheze.org/T11814","tags":["x_refsource_MISC"]}],"priority":{"score":11.7,"factors":[{"name":"EPSS percentile","points":8.29},{"name":"CVSS severity","points":3.43}]},"vendorSlug":"miraheze","affectedVersions":[{"vendor":"miraheze","product":"WikiDiscover","versions":["< 267e763a0d7"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2024-02-09T17:17:16.716313Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2024-22469","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-miraheze-wikidiscover-cve-2024-25107","children":[{"from":"CVE-2024-25107","to":"CVE-2024-47782","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["includes/WikiDiscoverWikisPager.php"],"commits":["https://github.com/miraheze/WikiDiscover/commit/267e763a0d7460f001693c42f67717a0fc3fd6bb","https://github.com/miraheze/WikiDiscover/commit/2ce846dd93ddb9ec86f7472c4d57fe71a09dc827"],"basis":"shared function","functions":["formatValue"]},{"kind":"similar","provenance":"machine","score":0.49,"basis":"same product + CWE + description similarity"}]}]}}