CVE-2026-35460 Papra has an HTML Injection in Transactional Emails via Unescaped User Display Name
Attackers can inject HTML into transactional emails via unescaped display names, enabling convincing phishing attacks from legitimate domains.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2026-35460?
CVE-2026-35460 is a medium-severity cross-site scripting vulnerability in papra-hq papra, published on 7 Apr 2026. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
Papra is a minimalistic document management and archiving platform. Prior to 26.4.0, transactional email templates in Papra interpolate user.name directly into HTML without escaping or sanitization. An attacker who registers with a display name containing HTML tags will have those tags injected into the verification and password reset email bodies. Since emails are sent from the legitimate domain (e.g: [email protected]), this enables convincing phishing attacks that appear to originate from official Papra notifications. This vulnerability is fixed in 26.4.0.
Which versions are affected by CVE-2026-35460?
It affects 1 product.
Products include Papra Papra.
How do I fix CVE-2026-35460?
No fix has been published for CVE-2026-35460 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-35460 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-35460 exists.
Other vulnerabilities in papra-hq papra
Sources
Also known as GHSA-6f8x-2rc9-vgh4.