LiveActive security incident?Get immediate response
CVE Record

CVE-2018-1000162: Parsedown version prior to 1.7.0 contains a Cross Site Scripting (XSS) vulnerability in `setMarkupEscaped`...

Parsedown version prior to 1.7.0 contains a Cross Site Scripting (XSS) vulnerability in `setMarkupEscaped` for escaping HTML that can result in JavaScript code execution. This attack appears to be exploitable via specially crafted markdown that allows it to side step HTML escaping by breaking AST boundaries. This vulnerability appears to have been fixed in 1.7.0 and later.

UnknownCVSS not scoredNot KEV-listedUpdated
Glexia's TakeAutomated analysismoderate

Security readout for executives and security teams

Plain-English summary

Parsedown before 1.7.0 can mishandle HTML escaping when setMarkupEscaped is used. Malicious Markdown may become executable JavaScript in rendered output. Business risk depends on whether applications render untrusted Markdown for users.

Executive priority

Prioritize remediation for internet-facing or multi-user applications that render untrusted Markdown. The issue is not KEV-listed and severity data is incomplete, but successful exploitation could run JavaScript in a user's browser and expose sessions or sensitive page data.

Technical view

This is an XSS flaw in Parsedown's setMarkupEscaped handling before 1.7.0. The CVE says crafted Markdown can bypass HTML escaping by breaking AST boundaries. The sources identify 1.7.0 and later as fixed; no CVSS, CWE, or CPE data is provided.

Likely exposure

Likely exposure is applications using Parsedown prior to 1.7.0 that render user-controlled Markdown while relying on setMarkupEscaped for escaping. Plausible contexts include comments, CMS content, support portals, documentation editors, and internal wikis, but the sources do not name downstream affected products.

Exploitation context

The source bundle describes exploitation through specially crafted Markdown and resulting JavaScript execution. It does not provide evidence of active exploitation, public weaponization, or inclusion in CISA KEV. Treat exploitation as possible where untrusted Markdown reaches browser-rendered pages.

Researcher notes

Evidence is limited to the CVE description and referenced GitHub discussions. The affected component is Parsedown before 1.7.0, specifically setMarkupEscaped behavior. Do not assume broader product exposure without dependency and code-path confirmation.

Mitigation direction

  • Upgrade Parsedown to version 1.7.0 or later.
  • Identify applications that render untrusted Markdown through Parsedown.
  • Check vendor and project guidance for any additional hardening advice.
  • Review output encoding and content security controls around Markdown-rendered pages.

Validation and detection

  • Inventory composer.lock or dependency manifests for Parsedown versions below 1.7.0.
  • Confirm whether Markdown input is accepted from users or external sources.
  • Verify setMarkupEscaped usage in Markdown rendering paths.
  • Regression-test Markdown rendering after upgrading or changing escaping behavior.
Prepared
Confidence
medium
Sources
4

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

description · low confidence lookup

Execution behavior lookup

The CVE wording references code or command execution, so execution technique review may help defensive triage. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2018-1000162 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Unknown
CVSS
Not scored
Known Exploited
No
Published
Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

0CVSS vectors
0Timeline events
0ADP providers
3Source links

CVSS and timeline data

No CVSS vectors or timeline events were available in the normalized CVE source material.

Source materials

Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
n/an/an/aListed
Weakness

CWE details

No CWE listed

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.