CVE-2021-37700: Clipboard-based DOM-XSS
github · paste-markdown
Affected: github paste-markdown · Exploitation: possible (1 to 10%)
Not in CyberSIXT coverage yet: no article names this CVE. This page shows the public record.
Higher than 77% of scored CVEs
DescriptionCVE.org
@github/paste-markdown is an npm package for pasting markdown objects. A self Cross-Site Scripting vulnerability exists in the @github/paste-markdown before version 0.3.4. 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 malicious website and paste it into pages that utilize this library are affected. This is fixed in version 0.3.4. Refer the to the referenced GitHub Advisory for more details including an example exploit.
Affected products1
From the CVE record. A product or version that is not listed is unknown, not unaffected.
- github · paste-markdown< 0.3.4
On the Atlas
Every published CVE is on the CyberSIXT Atlas, grouped by weakness, vendor and month.
- Exploitation
- Possible (1 to 10%). EPSS between 1% and 10%.
- CISA KEV
- Not listed
- Public check
- No public nuclei template
- Weakness
- Cross-site Scripting
- Vendor
- github
- Published
- August 2021
CoverageNo articles yet
No CyberSIXT article names CVE-2021-37700 yet, so there is no coverage timeline, action brief or change log for it. Everything on this page comes from the public CVE record, CISA KEV, EPSS and the nuclei template index. Search the archive or see the CVEs in the news.
References
- NVD entrynvd.nist.gov
- CVE recordcve.org
- Weakness CWE-79cwe.mitre.org
- github.com/github/paste-markdown/security/advisories/GHSA-gpfj-4github.com
- github.com/github/paste-markdown/commit/32b7ea3f29ae8f256f9d1976github.com
- github.com/github/paste-markdown/releases/tag/v0.3.4github.com
- npmjs.com/package/%40github/paste-markdownnpmjs.com