Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft malicious Markdown with XSS payload
-
DeliveryDeliver to victim via email/link/shared file
-
ExploitVictim opens Markdown in BentoPDF tool
-
ExecutionUnsanitized rendering executes JavaScript
-
ImpactSession hijacking or data exfiltration
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires user interaction (UI:A per CVSS vector) - victim must actively process attacker-supplied Markdown content through BentoPDF's Markdown to PDF conversion feature. No authentication required (PR:N) to exploit if attacker can deliver malicious Markdown to users via email attachments, shared file repositories, or URLs pointing to malicious Markdown. Exploitation is limited to BentoPDF deployments where users process Markdown from untrusted or external sources. Organizations restricting Markdown inputs to internal, authenticated users only face reduced risk. The client-side nature of BentoPDF means exploitation occurs in victim's browser regardless of server-side hosting configuration. Self-hosted instances and official hosted instances are equally vulnerable if running versions 2.8.2 or earlier. Attack complexity is low (AC:L) once initial social engineering succeeds in getting victim to process malicious content. |
| Impact | CVSS 7.0 indicates high confidentiality impact (VC:H) with low integrity impact (VI:L) via network vector (AV:N) with low complexity (AC:L) but requiring user interaction (UI:A). CVSS 4.0 threat metrics show no privilege requirements (PR:N), making this exploitable by unauthenticated remote attackers if they can deliver malicious Markdown to victims. No EPSS score provided, KEV status is negative, and no public exploit identified at time of analysis, suggesting limited observed exploitation. However, SSVC decision factors elevate concern: technical impact includes arbitrary code execution in victim's browser context, exploitation is automatable once initial user interaction occurs (clicking malicious link, processing shared Markdown), and the maintainer flagged immediate upgrade as critical for all users. Real-world risk centers on social engineering attack scenarios - phishing emails with malicious Markdown files, compromised shared documents, or weaponized templates. The responsible disclosure process and rapid patch release (credited to independent researcher Astaruf) indicate vendor takes security seriously, reducing window of exposure. Priority should be high for organizations using BentoPDF in multi-user environments or processing untrusted Markdown inputs, moderate for isolated single-user deployments. |
| Exploit ScenarioDerived | Attacker crafts a Markdown document containing malicious JavaScript payloads embedded in HTML tags or attributes that bypass sanitization in versions prior to 2.8.3. Victim opens or processes this Markdown file through BentoPDF's Markdown to PDF tool (via upload, shared link, or integrated workflow). When BentoPDF renders the Markdown for PDF conversion, the unsanitized JavaScript executes in the victim's browser, allowing the attacker to steal session cookies, redirect to phishing sites, modify PDF output, or perform actions on behalf of the victim within the application context. No public exploit code exists at time of analysis, but XSS exploitation techniques are well-documented and construction of malicious Markdown payloads requires minimal skill once vulnerability details are known. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – May 07, 2026
Cross-site scripting in BentoPDF's Markdown to PDF Tool allows remote attackers to execute arbitrary JavaScript when users interact with malicious Markdown content. Affects all versions prior to 2.8.3. Vendor-released patch version 2.8.3 available with immediate upgrade recommended by maintainer. No public exploit identified at time of analysis, though vulnerability was responsibly disclosed by independent researcher. CVSS 7.0 with network attack vector but requires user interaction, reducing automation potential.
RemediationAI
Upgrade to BentoPDF version 2.8.3 immediately (https://github.com/alam00000/bentopdf/releases/tag/v2.8.3). The maintainer explicitly recommends all users upgrade with urgency due to the security-critical nature of this fix. Version 2.8.3 incorporates DOMPurify 3.4.0 and addresses the XSS vulnerability per GHSA-6vh8-4frx-647f. If immediate upgrade is not feasible, implement strict input validation on Markdown sources: only process Markdown from trusted, authenticated users; reject or sanitize any external/untrusted Markdown files before processing; deploy Content Security Policy headers to restrict inline script execution and limit XSS impact (add 'script-src self' and remove 'unsafe-inline', though this may break legitimate functionality requiring testing). Run BentoPDF in isolated browser contexts or sandboxed iframes to contain potential XSS impact. Disable or restrict access to the Markdown to PDF tool if not operationally required. Note that CSP and sandboxing are defense-in-depth measures with operational overhead and may interfere with normal PDF generation features - upgrade to 2.8.3 remains the primary and most complete mitigation.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
BentoPDF is a client-side, self-hostable PDF toolkit that converts Markdown documents to PDF format. The vulnerability exists in the Markdown to PDF conversion feature, classified as CWE-79 (Improper Neutralization of Input During Web Page Generation). This occurs when user-supplied Markdown content is rendered in the browser without proper sanitization, allowing HTML/JavaScript injection. The fix in version 2.8.3 includes upgrading DOMPurify from 3.3.3 to 3.4.0 (evidenced in release notes), indicating the sanitization library was either missing, misconfigured, or contained a bypass in earlier versions. As a client-side application (cpe:2.3:a:alam00000:bentopdf), the XSS executes in the victim's browser context when processing attacker-controlled Markdown, potentially compromising session tokens, manipulating PDF output, or exfiltrating data from the application.
Know when Bentopdf gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N
Primary rating from Vendor (GitHub_M) · only source for this CVE.
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
3DescriptionCVE.org
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.
Executive ViewAI
CVE-2026-41653 is a cross-site scripting vulnerability in BentoPDF's Markdown to PDF conversion tool that allows attackers to execute arbitrary JavaScript through malicious Markdown content when users process files. This affects all versions before 2.8.3 and poses a direct risk to any organization using BentoPDF for document processing, potentially enabling credential theft or malware delivery through seemingly legitimate PDF generation workflows.
Vendor-released patch: version 2.8.3. If immediate patching is not feasible, implement input validation to restrict Markdown syntax (disable script tags and event handlers), restrict BentoPDF usage to trusted internal users only, and disable JavaScript execution in generated PDFs at the PDF reader level through security policies.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
Server-side request forgery in the BentoPDF certificate/timestamp CORS proxy (cloudflare/cors-proxy-worker.js) allows un
BentoPDF 2.8.6 and earlier ships its Timestamp workflow node with an unvalidated TimeStamp Authority URL, so importing a
EUVD-2026-28404
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB