{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-25107 exists.","fix":"No fix has been published for CVE-2024-25107 yet. Limit exposure of the affected software until one is available.","what":"CVE-2024-25107 is a medium-severity cross-site scripting vulnerability in miraheze WikiDiscover, published on 8 Feb 2024. An attacker needs administrator access to exploit it, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2024-25107 and fix it if it is affected.\n\nWhat it is: CVE-2024-25107 is a medium-severity cross-site scripting vulnerability in miraheze WikiDiscover, published on 8 Feb 2024. An attacker needs administrator access to exploit it, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-25107 exists.\n\nAffected product: miraheze WikiDiscover. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2024-25107/ (Markdown: https://insights.sbomify.com/CVE-2024-25107/index.md)","id":"CVE-2024-25107","markdown":"https://insights.sbomify.com/CVE-2024-25107/index.md","name":"CVE-2024-25107","record":{"aliases":["GHSA-cfcf-94jv-455f"],"analysis":{"component_type":"cms_plugin","fix_type":"patch","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"MediaWiki extension","requires_auth":"high_privilege","summary":"An attacker with editinterface rights can inject malicious scripts via unescaped interface messages in WikiDiscover, leading to XSS.","user_interaction":"not_required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"wikidiscover","vendor":"miraheze"}],"cvss":{"score":4.9,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N","version":"3.1"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"description":"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 `-\u003etext()` 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.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":false,"headline":"Cross-Site Scripting in WikiDiscover","id":"CVE-2024-25107","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"xss","year":"2024"},"n_packages":0,"n_references":3,"next":{"headline":"Insufficient authorization allowing elevated access to resources in pixelfed","id":"CVE-2024-25108"},"packages":[],"prev":{"headline":"OpenObserve Unauthorized Access Vulnerability in Users API","id":"CVE-2024-25106"},"products":["WikiDiscover"],"published":"2024-02-08","related":[{"cvss_score":7.6,"headline":"Cross-site Scripting (XSS) in Special:WikiDiscover when displaying wiki information in WikiDiscover","id":"CVE-2024-47782","kev_date_added":null,"published":"2024-10-07"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-06-17","vendors":["miraheze"]},"summary":"An attacker with editinterface rights can inject malicious scripts via unescaped interface messages in WikiDiscover, leading to XSS.","url":"https://insights.sbomify.com/CVE-2024-25107/"}