Skip to main content
VulnerabilityPublished Updated

CVE-2023-0835: markdown-pdf · Server Side XSS

Affects markdown-pdfSource CVE Database V5

0
Compare

Not known to be exploited · CVSS 8.2 High.

Data as of 24 Nov 2026, 21:14 UTC

CVSS 3.1 base score
8.2High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.5% chance of exploitation in 30 days – higher than 49% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 4 Apr 2023

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 25 Nov 2026.

What to do

Affected software

ProductAffectedFixed in
npmmarkdown-pdfpkg:npm/markdown-pdfOther threatsAffected
  • =11.0.0
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

To mitigate CVE-2023-0835, European organizations should take several concrete steps beyond generic advice: 1) Immediately audit all instances of markdown-pdf version 11.0.0 in use, including development, staging, and production environments. 2) Restrict the sources of Markdown input to trusted users or systems to reduce exposure to malicious content. 3) Implement strict input validation and sanitization of Markdown content before processing, using libraries or filters that neutralize potentially malicious scripts or payloads. 4) Where possible, isolate the markdown-pdf processing environment using containerization or sandboxing to limit the impact of any successful exploit. 5) Monitor vendor channels and security advisories for patches or updates addressing this vulnerability and apply them promptly once available. 6) Educate users and developers about the risks of processing untrusted Markdown content and encourage secure coding practices. 7) Employ runtime monitoring and file access controls to detect and prevent unauthorized file reads triggered by markdown-pdf processes. 8) Consider alternative tools or versions without this vulnerability if immediate patching is not feasible. These targeted actions will reduce the risk of exploitation and limit potential damage.

Description

CVE-2023-0835 is a high-severity Server Side Cross-Site Scripting (XSS) vulnerability in markdown-pdf version 11.0.0 that allows remote attackers to obtain arbitrary local files. The flaw arises because the application fails to properly validate user-supplied Markdown content, enabling malicious input to be executed on the server side. Exploitation requires no privileges but does require user interaction, and it can lead to significant confidentiality breaches by exposing sensitive local files. Although no known exploits are currently reported in the wild, the vulnerability’s CVSS score of 8.2 indicates a serious risk. European organizations using markdown-pdf 11.0.0, especially in development or documentation pipelines, should prioritize patching or mitigating this issue.

References

Community reviews

Loading reviews…