SOC status:Duty analyst on shift

UK Cyber Defence
VulnerabilityModified

CVE-2022-36036

There is a potential for an arbitrary javascript injection in versions less than 1.3.0 and 2.0.0-rc1.

HIGH 7.8EPSS 0.40%

Does this matter?

High impact if exploited, but EPSS currently rates exploitation as unlikely (0.40%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.

Description

mdx-mermaid provides plug and play access to Mermaid in MDX. There is a potential for an arbitrary javascript injection in versions less than 1.3.0 and 2.0.0-rc1. Modify any mermaid code blocks with arbitrary code and it will execute when the component is loaded by MDXjs. This vulnerability was patched in version(s) 1.3.0 and 2.0.0-rc2. There are currently no known workarounds.

CVSS 3.1
7.8 HIGHCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS
0.40% probability · 33th percentile
CISA KEV
Not listed
Weakness
CWE-94
Affected
mdx-mermaid project/mdx-mermaid
Source
security-advisories@github.com

Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.