{"id":"GHSA-qghr-877h-f9jh","summary":"markdown-pdf vulnerable to local file read via server side cross-site scripting (XSS)","details":"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.","aliases":["CVE-2023-0835"],"modified":"2025-02-13T18:51:56Z","published":"2023-04-05T00:30:38Z","database_specific":{"severity":"HIGH","github_reviewed":true,"github_reviewed_at":"2023-04-05T17:55:20Z","nvd_published_at":"2023-04-04T23:15:00Z","cwe_ids":["CWE-79"]},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-0835"},{"type":"WEB","url":"https://fluidattacks.com/advisories/relsb"},{"type":"PACKAGE","url":"https://github.com/alanshaw/markdown-pdf"},{"type":"WEB","url":"https://www.npmjs.com/package/markdown-pdf"}],"affected":[{"package":{"name":"markdown-pdf","ecosystem":"npm","purl":"pkg:npm/markdown-pdf"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"last_affected":"11.0.0"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/04/GHSA-qghr-877h-f9jh/GHSA-qghr-877h-f9jh.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"}]}