Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2021-37700

6.5 · MEDIUM
Published Aug 12, 2021 paste-markdown_project CWE-79 EPSS 1.66% (75th pctl)

Overview

CVE-2021-37700 is a medium-severity vulnerability affecting paste-markdown_project paste-markdown. It was published on August 12, 2021 and has a CVSS 3.1 base score of 6.5 (MEDIUM).

This vulnerability has a CVSS 3.1 base score of 6.5, rated MEDIUM. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

Technical Description

@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.

Remediation

Check the references section for vendor advisories and patches from paste-markdown_project. Update paste-markdown to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected Products

Vendor Product Versions Status
paste-markdown_project paste-markdown >= 0, < 0.3.4 Affected

Frequently Asked Questions

What is CVE-2021-37700?

CVE-2021-37700 is a medium-severity vulnerability affecting paste-markdown_project paste-markdown. It was published on August 12, 2021 and has a CVSS 3.1 base score of 6.5 (MEDIUM).

How severe is CVE-2021-37700?

This vulnerability has a CVSS 3.1 base score of 6.5, rated MEDIUM. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

How do I fix or remediate CVE-2021-37700?

Check the references section for vendor advisories and patches from paste-markdown_project. Update paste-markdown to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2021-37700?

CyberStrike's AI-powered security agents can automatically detect CVE-2021-37700 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.