CVE-2018-1000874
JSON

6.1medium

PHP cebe markdown parser version 1.2.0 and earlier contains a Cross Site Scripting (XSS) vulnerability in all distributed parsers allowing…

Severity
6.1medium CVSS:3.1 by CISA-ADP
Exploit likelihood
0.80% (higher than 53% of CVEs)
Published
Last changed
Assigned by
mitre

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

Product or packageVersionsReported by
Unspecified productn/aCVE List
cebe markdownup to 1.2.0NVD

All scores

CISA-ADP6.1medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
NVD6.1medium CVSS:3.0CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
NVD4.3medium CVSS:2.0AV:N/AC:M/Au:N/C:N/I:P/A:N

Classification

CWE-79

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.

What each source says

CVE List

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

NVD (es)

** EN DISPUTA ** PHP cebe markdown parser, en versiones 1.2.0 y anteriores, contiene una vulnerabilidad Cross-Site Scripting (XSS) en todos los analizadores distribuidos que permite que un script maliciosamente manipulado se ejecute, lo que resulta en la pérdida de datos y de información sensible del usuario. Este ataque puede explotarse manipulando una carga útil envuelta en tres acentos graves con un carácter delante: L: "``````". NOTA: Esto se ha argumentado como un no-problema (ver referencias) ya que no es tarea del analizador sanear el código malicioso de un documento analizado.

References

Sources

SourceRecordLicence
CVE ListCVE-2018-1000874 changed 2025-05-06CVE Terms of Use
NVDCVE-2018-1000874 changed 2026-06-17Public domain