CVE-2026-24127 Typemill has Reflected XSS via login error view template
An attacker can execute arbitrary scripts in the login page context via reflected XSS in the Typemill CMS login error template.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2026-24127?
CVE-2026-24127 is a medium-severity cross-site scripting vulnerability in typemill, published on 23 Jan 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
Typemill is a flat-file, Markdown-based CMS designed for informational documentation websites. A reflected Cross-Site Scripting (XSS) exists in the login error view template `login.twig` of versions 2.19.1 and below. The `username` value can be echoed back without proper contextual encoding when authentication fails. An attacker can execute script in the login page context. This issue has been fixed in version 2.19.2.
Which versions are affected by CVE-2026-24127?
It affects 1 product.
Products include Typemill Typemill.
How do I fix CVE-2026-24127?
No fix has been published for CVE-2026-24127 yet. Limit exposure of the affected software until one is available.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2026-24127 being exploited?
There is no known exploitation of CVE-2026-24127 in the wild and no public exploit code.
Other vulnerabilities in typemill
Sources
Also known as GHSA-65x4-pjhj-r8wr.