{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2024-47782 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2024-47782 yet. Limit exposure of the affected software until one is available.","what":"CVE-2024-47782 is a high-severity cross-site scripting vulnerability in miraheze WikiDiscover, published on 7 Oct 2024. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2024-47782 and fix it if it is affected.\n\nWhat it is: CVE-2024-47782 is a high-severity cross-site scripting vulnerability in miraheze WikiDiscover, published on 7 Oct 2024. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2024-47782 in the wild and no public exploit code.\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-47782/ (Markdown: https://insights.sbomify.com/CVE-2024-47782/index.md)","id":"CVE-2024-47782","markdown":"https://insights.sbomify.com/CVE-2024-47782/index.md","name":"CVE-2024-47782","record":{"aliases":["GHSA-wf48-rqx3-39mf"],"analysis":{"component_type":"cms_plugin","fix_type":"patch","impacts":["code_execution","account_takeover"],"network_reachable":"yes","non_default_config":false,"product_category":"WikiDiscover extension","requires_auth":"low_privilege","summary":"Attackers can inject scripts via wiki names or descriptions in WikiDiscover, leading to code execution or account takeover for users viewing the list.","user_interaction":"not_required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"wikidiscover","vendor":"miraheze"}],"cvss":{"score":7.6,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:L","version":"3.1"},"cwes":[{"id":"CWE-80","name":"Improper Neutralization of Script-Related HTML Tags in a Web Page"},{"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. 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`.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":false,"headline":"Cross-site Scripting (XSS) in Special:WikiDiscover when displaying wiki information in WikiDiscover","id":"CVE-2024-47782","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"xss","year":"2024"},"n_packages":0,"n_references":3,"next":{"headline":"Privilege escalation in SIPORT","id":"CVE-2024-47783"},"packages":[],"prev":{"headline":"Cross-site Scripting (XSS) in Special:RequestWikiQueue when displaying sitename in CreateWiki","id":"CVE-2024-47781"},"products":["WikiDiscover"],"published":"2024-10-07","related":[{"cvss_score":4.9,"headline":"Cross-Site Scripting in WikiDiscover","id":"CVE-2024-25107","kev_date_added":null,"published":"2024-02-08"}],"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":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2024-10-08","vendors":["miraheze"]},"summary":"Attackers can inject scripts via wiki names or descriptions in WikiDiscover, leading to code execution or account takeover for users viewing the list.","url":"https://insights.sbomify.com/CVE-2024-47782/"}