{"id":"CVE-2018-1000874","details":"PHP cebe markdown parser version 1.2.0 and earlier contains a Cross Site Scripting (XSS) vulnerability in all distributed parsers allowing a malicious crafted script to be executed that can result in the lose of user data and sensitive user information. This attack can be exploited by crafting a three backtick wrapped payload with a character in front: L: \"```\u003cscript\u003ealert();\u003c/script\u003e```\". NOTE: This has been argued as a non-issue (see references) since it is not the parser's job to sanitize malicious code from a parsed document","modified":"2026-07-08T14:58:56.984397Z","published":"2018-12-20T17:29:00.957Z","references":[{"type":"REPORT","url":"https://github.com/cebe/markdown/issues/166"},{"type":"REPORT","url":"https://github.com/cebe/markdown/issues/166#issuecomment-508230493"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/cebe/markdown","events":[{"introduced":"0"},{"last_affected":"62efec06056b045c8c5e9c1126d9253ba27b9cb3"}],"database_specific":{"cpe":"cpe:2.3:a:cebe:markdown:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"0"},{"last_affected":"1.2.0"}],"source":"CPE_RANGE"}}],"versions":["1.2.0","1.1.2","1.1.1","1.1.0","1.0.1","1.0.0","1.0.0-rc","0.9.2","0.9.1","0.9.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-1000874.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"}]}