CVE-2026-41653 BentoPDF: Stored XSS via Markdown Editor Leading to Persistent File Exfiltration
Attackers can inject malicious JavaScript via the Markdown editor to execute code and exfiltrate files in BentoPDF.
- 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-41653?
CVE-2026-41653 is a high-severity cross-site scripting vulnerability in alam00000 bentopdf, published on 7 May 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
BentoPDF is a client-side PDF toolkit that is self hostable. Prior to version 2.8.3, a cross-site scripting vulnerability was identified in BentoPD. An attacker may be able to execute arbitrary JavaScript in certain circumstances in Markdown to PDF Tool. This issue has been patched in version 2.8.3.
Weakness: CWE-79
Which versions are affected by CVE-2026-41653?
How do I fix CVE-2026-41653?
No fix has been published for CVE-2026-41653 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-41653 being exploited?
There is no known exploitation of CVE-2026-41653 in the wild and no public exploit code.
Public exploit code: 1 proofs of concept on GitHub.
Sources
Also known as GHSA-6vh8-4frx-647f.