CVE-2018-1000874 Cross-site scripting in n/a
A maliciously crafted markdown payload can execute arbitrary scripts in the context of the user viewing the parsed content, potentially leading to data theft.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2018-1000874?
CVE-2018-1000874 is a medium-severity cross-site scripting vulnerability in n/a, published on 20 Dec 2018. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official 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
Weakness: CWE-79
Which versions are affected by CVE-2018-1000874?
It affects 1 product.
Products include Cebe Markdown.
How do I fix CVE-2018-1000874?
No fix has been published for CVE-2018-1000874 yet. Limit exposure of the affected software until one is available.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2018-1000874 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2018-1000874 exists.
Sources
Also known as GHSA-gvg5-fmh4-q8jg.