CVE-2023-0835
About
markdown-pdf version 11.0.0 allows an external attacker to remotely obtain arbitrary local files. This is possible because the application does not validate the Markdown content entered by the user.
Rainforest analyst review
markdown-pdf 11.0.0 renders user-supplied Markdown without validating it, and that lets an attacker read arbitrary local files off the machine doing the conversion. Because the rendering pulls in whatever the malicious Markdown references, a document crafted by an external user becomes a file-exfiltration primitive, reaching files the rendering process can access. The scope-changed metric reflects that the damage lands outside the component's own boundary.
Anywhere Markdown from one user gets turned into a PDF, comment fields, note-taking features, report generators, this is a live path, and it only needs the attacker to submit content that later gets rendered. It is not a self-propagating exploit, but in a multi-user application it lets an outsider pull secrets and configuration off the server. The value to an attacker is exactly the local files, credentials and keys, that unlock the next stage.
This is a dependency-tracing exercise for us: markdown-pdf is a library embedded in applications, so we need to find which services depend on version 11.0.0 and, of those, which feed it Markdown that any untrusted user can influence. That intersection, vulnerable version plus attacker-reachable input, is the short list that actually matters, and it is far smaller than the raw count of projects that pull the package in.
References
Related CVEs
Frequently asked questions
What is CVE-2023-0835?
markdown-pdf version 11.0.0 allows an external attacker to remotely obtain arbitrary local files. This is possible because the application does not validate the Markdown content entered by the user.
How severe is CVE-2023-0835?
CVE-2023-0835 carries a CVSS 3.1 base score of 8.2, rated high. On the Rainforest Risk Index — which weighs the severity alongside how easy the flaw is to reach and how broad its impact is — it scores 81 out of 100, in the high band.
How is CVE-2023-0835 exploited?
According to the CVSS vector (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N): attack vector Network, attack complexity Low, privileges required None, user interaction Required. Impact on confidentiality High, integrity Low and availability None.
Which products are affected by CVE-2023-0835?
Public advisories list the following as affected: markdown-pdf. Check the references on this page for the exact versions each vendor confirms.
How do I fix CVE-2023-0835?
Apply the fix the vendor published — the references on this page link to the primary advisories and patches. When patching can't happen right away, reduce the exposure of the affected component and watch it for exploitation attempts. Rainforest customers see this vulnerability correlated to their own assets and prioritized by real exposure, not by score alone.
Empower Your Security Strategy with Rainforest
Discover vulnerabilities early, prioritize critical threats, and protect what truly matters. Rainforest streamlines your security operations, saving you time and reducing costs, so you can focus on what drives your business forward.
