{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-59838 exists.","fix":"No fix has been published for CVE-2025-59838 yet. Limit exposure of the affected software until one is available.","what":"CVE-2025-59838 is a low-severity cross-site scripting vulnerability in monkeytypegame monkeytype, published on 25 Sep 2025. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2025-59838 and fix it if it is affected.\n\nWhat it is: CVE-2025-59838 is a low-severity cross-site scripting vulnerability in monkeytypegame monkeytype, published on 25 Sep 2025. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-59838 exists.\n\nAffected product: monkeytypegame monkeytype. 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-2025-59838/ (Markdown: https://insights.sbomify.com/CVE-2025-59838/index.md)","id":"CVE-2025-59838","markdown":"https://insights.sbomify.com/CVE-2025-59838/index.md","name":"CVE-2025-59838","record":{"aliases":["GHSA-j4xx-fww5-774w"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"typing test web app","requires_auth":"low_privilege","summary":"An attacker can execute arbitrary scripts in a victim's browser by tricking them into loading a malicious saved custom text in Monkeytype.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"monkeytype","vendor":"monkeytype"}],"cvss":{"score":2.4,"severity":"low","source":"cna","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:N/SI:L/SA:N","version":"4.0"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"description":"Monkeytype is a minimalistic and customizable typing test. In versions 25.36.0 and prior, improper handling of user input when loading a saved custom text results in XSS. This issue has been fixed in version 25.44.0.","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":"Monkeytype Vulnerable to Self-XSS on loading saved custom text","id":"CVE-2025-59838","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"xss","year":"2025"},"n_packages":0,"n_references":4,"next":{"headline":"Star Citizen EmbedVideo Extension Stored XSS through wikitext caused by usage of non-reserved data attributes","id":"CVE-2025-59839"},"packages":[],"prev":{"headline":"astro allows bypass of image proxy domain validation leading to SSRF and potential XSS","id":"CVE-2025-59837"},"products":["monkeytype"],"published":"2025-09-25","related":[{"cvss_score":8.4,"headline":"Code injection in monkeytype","id":"CVE-2024-41127","kev_date_added":null,"published":"2024-08-02"},{"cvss_score":7.1,"headline":"Monkeytype vulnerable to stored XSS in approve quotes page","id":"CVE-2025-66563","kev_date_added":null,"published":"2025-12-04"}],"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":"2026-10-13","vendors":["monkeytypegame"]},"summary":"An attacker can execute arbitrary scripts in a victim's browser by tricking them into loading a malicious saved custom text in Monkeytype.","url":"https://insights.sbomify.com/CVE-2025-59838/"}