Add CVE-2021-37700 for GHSA-gpfj-4j6g-c4w9

Add CVE-2021-37700 for GHSA-gpfj-4j6g-c4w9
This commit is contained in:
advisory-db[bot] 2021-08-12 20:41:08 +00:00 committed by GitHub
parent 1f3feecad3
commit 869952dd22
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,18 +1,98 @@
{
"data_type": "CVE",
"data_format": "MITRE",
"data_version": "4.0",
"CVE_data_meta": {
"ASSIGNER": "security-advisories@github.com",
"ID": "CVE-2021-37700",
"ASSIGNER": "cve@mitre.org",
"STATE": "RESERVED"
"STATE": "PUBLIC",
"TITLE": "Clipboard-based DOM-XSS"
},
"affects": {
"vendor": {
"vendor_data": [
{
"product": {
"product_data": [
{
"product_name": "paste-markdown",
"version": {
"version_data": [
{
"version_value": "< 0.3.4"
}
]
}
}
]
},
"vendor_name": "github"
}
]
}
},
"data_format": "MITRE",
"data_type": "CVE",
"data_version": "4.0",
"description": {
"description_data": [
{
"lang": "eng",
"value": "** RESERVED ** This candidate has been reserved by an organization or individual that will use it when announcing a new security problem. When the candidate has been publicized, the details for this candidate will be provided."
"value": "@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.\n"
}
]
},
"impact": {
"cvss": {
"attackComplexity": "LOW",
"attackVector": "NETWORK",
"availabilityImpact": "NONE",
"baseScore": 6.5,
"baseSeverity": "MEDIUM",
"confidentialityImpact": "HIGH",
"integrityImpact": "NONE",
"privilegesRequired": "NONE",
"scope": "UNCHANGED",
"userInteraction": "REQUIRED",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N",
"version": "3.1"
}
},
"problemtype": {
"problemtype_data": [
{
"description": [
{
"lang": "eng",
"value": "CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')"
}
]
}
]
},
"references": {
"reference_data": [
{
"name": "https://github.com/github/paste-markdown/security/advisories/GHSA-gpfj-4j6g-c4w9",
"refsource": "CONFIRM",
"url": "https://github.com/github/paste-markdown/security/advisories/GHSA-gpfj-4j6g-c4w9"
},
{
"name": "https://github.com/github/paste-markdown/commit/32b7ea3f29ae8f256f9d19768387be42678ddf30",
"refsource": "MISC",
"url": "https://github.com/github/paste-markdown/commit/32b7ea3f29ae8f256f9d19768387be42678ddf30"
},
{
"name": "https://github.com/github/paste-markdown/releases/tag/v0.3.4",
"refsource": "MISC",
"url": "https://github.com/github/paste-markdown/releases/tag/v0.3.4"
},
{
"name": "https://www.npmjs.com/package/@github/paste-markdown",
"refsource": "MISC",
"url": "https://www.npmjs.com/package/@github/paste-markdown"
}
]
},
"source": {
"advisory": "GHSA-gpfj-4j6g-c4w9",
"discovery": "UNKNOWN"
}
}