CVE-2025-59838
What it is
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.
At a glance
- Exploitability
- Can be exploited locally on the machine with a low-privilege account, but needs a user to act. Limited direct impact.
- Exploit odds
- 0.3% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 0.3% in the next 30 days (EPSS).
- Severity: 2.4 LOW (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 0.3% · EPSS, next 30 days
- Weakness
- CWE-79 · Cross-site scripting
- Record status
- Analyzed
Affected
- Monkeytype < 25.44.0
Attack profile CVSS 4.0 · 2.4
- Attack vector
- Local
- Complexity
- Low
- Attack requirements
- None
- Privileges needed
- Low
- User interaction
- Passive
- Confidentiality
- None
- Integrity
- None
- Availability
- None
Raw 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2025-59838.md and follow it. Check whether this project is affected by CVE-2025-59838. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- https://github.com/monkeytypegame/monkeytype/commit/42f6a16c6255d66cbb2be279131454866d98f2c9
- https://github.com/monkeytypegame/monkeytype/commit/f025b121cbe437e29de432b4aa72e0de22c755b7
- https://github.com/monkeytypegame/monkeytype/releases/tag/v25.44.0
- https://github.com/monkeytypegame/monkeytype/security/advisories/GHSA-j4xx-fww5-774w
- https://github.com/monkeytypegame/monkeytype/security/advisories/GHSA-j4xx-fww5-774w
References
- https://github.com/monkeytypegame/monkeytype/commit/42f6a16c6255d66cbb2be279131454866d98f2c9
- https://github.com/monkeytypegame/monkeytype/commit/f025b121cbe437e29de432b4aa72e0de22c755b7
- https://github.com/monkeytypegame/monkeytype/releases/tag/v25.44.0
- https://github.com/monkeytypegame/monkeytype/security/advisories/GHSA-j4xx-fww5-774w
- https://github.com/monkeytypegame/monkeytype/security/advisories/GHSA-j4xx-fww5-774w