CVEvulnerability
CVE-2018-1000874
6.1 MEDIUM
Official page ↗
- Status
- Modified
- Published
- 2018-12-20
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 (134c704f-9b21-4f2e-91b3-4a467353bcc0)
- 6.1 MEDIUM — CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- CVSS 3.0 ([email protected])
- 6.1 MEDIUM — CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- CVSS 2.0 ([email protected])
- 4.3 MEDIUM — AV:N/AC:M/Au:N/C:N/I:P/A:N
- Weaknesses
- CWE-79
Description
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: "```<script>alert();</script>```". 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
Affected configurations
• cebe markdown (<= 1.2.0)
Related
Weakness · CWE (1)
- CWE-79 Improper Neutralization of Input During Web Page Generation weakness
References
- https://github.com/cebe/markdown/issues/166 Exploit, Issue Tracking, Third Party Advisory
- https://github.com/cebe/markdown/issues/166#issuecomment-508230493 github.com
- https://github.com/cebe/markdown/issues/166 Exploit, Issue Tracking, Third Party Advisory
- https://github.com/cebe/markdown/issues/166#issuecomment-508230493 github.com