Skip to main content

BentoPDF EUVDEUVD-2026-28404

| CVE-2026-41653 HIGH
Cross-site Scripting (XSS) (CWE-79)
2026-05-07 GitHub_M
7.0
CVSS 4.0 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Craft malicious Markdown with XSS payload
  2. Delivery
    Deliver to victim via email/link/shared file
  3. Exploit
    Victim opens Markdown in BentoPDF tool
  4. Execution
    Unsanitized rendering executes JavaScript
  5. Impact
    Session 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

bentopdf < 2.8.3

Affected Packages

euvd bentopdf fix: 2.8.3

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

Vendor (GitHub_M) PRIMARY 7.0 HIGH
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

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Active
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
Low
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

3
Patch available
May 07, 2026 - 20:02 EUVD
CVSS changed
May 07, 2026 - 19:22 NVD
7.0 (HIGH)
CVE Published
May 07, 2026 - 18:43 nvd
HIGH 7.0

DescriptionCVE.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

Why It Matters

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.

Business Impact: High
Compensating Controls

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

EPSS Score
0.0%
Top 86% exploitable
Social Media
1
Sightings
Data Quality
6 sources
Confidence: High

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Partial

Priority Score

35
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +35
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy