Monkeytype is a minimalistic and customizable typing test. In 25.49.0 and earlier, there is improper handling of user input which allows an attacker to execute malicious javascript on anyone viewing a malicious quote submission. quote.text and quote.source are user input, and they're inserted straight into the DOM. If they contain HTML tags, they will be rendered (after some escaping using quotes and textarea tags).
Fix
Patch, vendor advisory and mitigation references on NVD 3
- https://github.com/monkeytypegame/monkeytype/commit/d6d062a77132ba7d6ba3b482d46ae329d3b8d695 Patch
- https://github.com/monkeytypegame/monkeytype/security/advisories/GHSA-mfjh-9552-8g27 Exploit, Vendor Advisory
- https://github.com/monkeytypegame/monkeytype/security/advisories/GHSA-mfjh-9552-8g27 Exploit, Vendor Advisory
Every line above is quoted from NVD, CISA, Microsoft, the vendor's own advisory or DISA; nothing is generated.
Change history 1
- First seenCVSS 7.1 · monkeytypeNVD modified 2026-10-18 15:10
Affected (CPE criteria) 1
cpe:2.3:a:monkeytype:monkeytype:*:*:*:*:*:*:*:*
References 3
- https://github.com/monkeytypegame/monkeytype/commit/d6d062a77132ba7d6ba3b482d46ae329d3b8d695 Patch
- https://github.com/monkeytypegame/monkeytype/security/advisories/GHSA-mfjh-9552-8g27 Exploit, Vendor Advisory
- https://github.com/monkeytypegame/monkeytype/security/advisories/GHSA-mfjh-9552-8g27 Exploit, Vendor Advisory