npm package report

Is @github/paste-markdown safe?

1 known vulnerability, worst severity MODERATE.

cvss
6.5

how bad it is if exploited, out of 10

epss
1.7%

chance of exploitation in the next 30 days

xyz score
not scored

CyberXYZ composite, out of 10

fig. 01 — GHSA-gpfj-4j6g-c4w9, the advisory selected below

// advisories

GHSA-gpfj-4j6g-c4w9

MODERATECVE-2021-37700

A self Cross-Site Scripting vulnerability exists in the @github/paste-markdown library. If the clipboard data contains the string <table>, a div is dynamically created, and the clipboard content is copied into its innerHTML property without any sanitization, resulting in improper execution of JavaScript in the browser of the victim (the user who pasted the code). Users directed to copy text from a

Affected
< 0.3.4
Fixed in
0.3.4
Weakness
CWE-79
Published
2021-08-12
Source
github

GHSANVDMITREreferencereferencereferencereference


// ai model usage

Tracked for PyPI packages. HuggingFace models declare Python dependencies, so npm packages are not covered.


Checked 2026-09-22 at 02:50 UTC. The most recent advisory here was published 2021-08-12. Updated continuously from NVD, GHSA, OSV and CNA feeds.

Think a verdict here is wrong? Tell us — we respond within 2 business days.
Is @github/paste-markdown safe? npm package security report | CyberXYZ