{"id":"CVE-2024-47782","published":"2024-10-07T21:28:01Z","modified":"2024-10-08T14:11:43Z","title":"Cross-site Scripting (XSS) in Special:WikiDiscover when displaying wiki information 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. Special:WikiDiscover is a special page that lists all wikis on the wiki farm. However, the special page does not make any effort to escape the wiki name or description. Therefore, if a wiki sets its name and/or description to an XSS payload, the XSS will execute whenever the wiki is shown on Special:WikiDiscover. This issue has been patched with commit `2ce846dd93` and all users are advised to apply that patch. User unable to upgrade should block access to `Special:WikiDiscover`.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.6,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00618,"percentile":0.43872,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"},{"id":"CWE-80","name":"Improper Neutralization of Script-Related HTML Tags in a Web Page"}],"references":[{"url":"https://github.com/miraheze/WikiDiscover/security/advisories/GHSA-wf48-rqx3-39mf","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/miraheze/WikiDiscover/commit/2ce846dd93ddb9ec86f7472c4d57fe71a09dc827","tags":["x_refsource_MISC"]},{"url":"https://issue-tracker.miraheze.org/T12697","tags":["x_refsource_MISC"]}],"priority":{"score":14.1,"factors":[{"name":"EPSS percentile","points":8.77},{"name":"CVSS severity","points":5.32}]},"vendorSlug":"miraheze","affectedVersions":[{"vendor":"miraheze","product":"WikiDiscover","versions":["commits before 2ce846dd93ddb9ec86f7472c4d57fe71a09dc827"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-10-08T14:11:34.331700Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2024-42686","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-miraheze-wikidiscover-cve-2024-25107","parents":[{"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"}]}]}}