{"answers":{"affected":"1 open source package ship an affected version, including github.com/requarks/wiki.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-34710 exists.","fix":"No fix has been published for CVE-2024-34710 yet. Limit exposure of the affected software until one is available.","what":"CVE-2024-34710 is a high-severity cross-site scripting vulnerability in requarks wiki, published on 20 May 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-34710 and fix it if it is affected.\n\nWhat it is: CVE-2024-34710 is a high-severity cross-site scripting vulnerability in requarks wiki, published on 20 May 2024. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-34710 exists.\n\nAffected packages and fixed versions:\n- github.com/requarks/wiki (Go): affected all versions; no fix listed\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-34710/ (Markdown: https://insights.sbomify.com/CVE-2024-34710/index.md)","id":"CVE-2024-34710","markdown":"https://insights.sbomify.com/CVE-2024-34710/index.md","name":"CVE-2024-34710","record":{"aliases":["GHSA-xjcj-p2qv-q3rf","GO-2024-2875"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Wiki.js wiki app","requires_auth":"low_privilege","summary":"An attacker can inject malicious JavaScript into Wiki.js pages via client-side template injection, executing code in victims' browsers.","user_interaction":"not_required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":7.1,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N","version":"3.1"},"cwes":[{"id":"CWE-1336","name":"Improper Neutralization of Special Elements Used in a Template Engine"}],"description":"Wiki.js is al wiki app built on Node.js. Client side template injection was discovered, that could allow an attacker to inject malicious JavaScript into the content section of pages that would execute once a victim loads the page that contains the payload. This was possible through the injection of a invalid HTML tag with a template injection payload on the next line. This vulnerability is fixed in 2.5.303.","ecosystems":["Go"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":false,"headline":"Wiki.js Stored XSS through Client Side Template Injection","id":"CVE-2024-34710","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"xss","year":"2024"},"n_packages":1,"n_references":2,"next":{"headline":"GeoServer has improper ENTITY_RESOLUTION_ALLOWLIST URI validation in XML Processing (SSRF)","id":"CVE-2024-34711"},"packages":[{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":[],"package":"github.com/requarks/wiki","purl":"pkg:golang/github.com/requarks/wiki","source":"GO-2024-2875"}],"prev":{"headline":"Directus Lacks Session Tokens Invalidation","id":"CVE-2024-34709"},"products":["wiki"],"published":"2024-05-20","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"},{"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":"2024-08-02","vendors":["requarks"]},"summary":"An attacker can inject malicious JavaScript into Wiki.js pages via client-side template injection, executing code in victims' browsers.","url":"https://insights.sbomify.com/CVE-2024-34710/"}