Monkeytype Cross-Site Scripting Vulnerability in Custom Text Loading

Vulnerability

A cross-site scripting (XSS) vulnerability has been identified in Monkeytype, a customizable typing test application, in versions through 25.36.0. The issue arises from improper handling of user input when loading saved custom text, allowing for the execution of malicious scripts.

Impact

Exploitation of this vulnerability allows for self-cross-site scripting, where the injected script executes in the context of the user who created the custom text.

Reproduction

To reproduce this vulnerability, enter custom mode and save a new custom text file. When prompted to name the file, enter a payload, such as an image tag with an 'onerror' event. After saving, the payload will execute.

Remediation

Users can update to version 25.36.1 or later, where this vulnerability has been patched.

Added: Sep 25, 2025, 3:38 PM
Updated: Sep 25, 2025, 4:41 PM

Vulnerability Rating

Custom Algorithm
spread
0.0
impact
1.0
exploitability
5.4
remediation
7.7
relevance
0.6
threat
6.4
urgency
2.9
incentive
0.8

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.