CVE-2018-1000874
Last modified
CVE-2018-1000874 is a medium-severity vulnerability rated 6.1/10 on the CVSS scale. 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>```". EPSS estimates a 0.80% chance of exploitation in the next 30 days.
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
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Cebe | Markdown | <= 1.2.0 |
References
- https://github.com/cebe/markdown/issues/166Exploit, Issue Tracking, Third Party Advisory
- https://github.com/cebe/markdown/issues/166Exploit, Issue Tracking, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2018-1000874?
How severe is CVE-2018-1000874?
How do I fix CVE-2018-1000874?
Are you affected by CVE-2018-1000874?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
