@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 `
`, 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.
Vector :
Exploitability : 8.6 / Impact
: 2.9
Confidentiality Impact
NONE
6.1 /10
CVSS v3.0 : MEDIUM
Vector :
Exploitability : 2.8 / Impact
: 2.7
User Interaction
REQUIRED
Confidentiality Impact
LOW
Configuration 1
| cpe:2.3:a:paste-markdown_project:paste-markdown:*:*:*:*:*:node.js:*:* |
|
24 Jan 2023, 16:19
| Type |
Values Removed |
Values Added |
| CPE |
|
cpe:2.3:a:predictapp_project:predictapp:*:*:*:*:*:*:*:* |
| References |
(MISC) https://github.com/abhilash1985/PredictApp/commit/b067372f3ee26fe1b657121f0f41883ff4461a06 - |
(MISC) https://github.com/abhilash1985/PredictApp/commit/b067372f3ee26fe1b657121f0f41883ff4461a06 - Patch, Third Party Advisory |
| References |
(MISC) https://github.com/abhilash1985/PredictApp/pull/73 - |
(MISC) https://github.com/abhilash1985/PredictApp/pull/73 - Patch, Third Party Advisory |
| References |
(MISC) https://vuldb.com/?id.218387 - |
(MISC) https://vuldb.com/?id.218387 - Third Party Advisory |
| References |
(MISC) https://vuldb.com/?ctiid.218387 - |
(MISC) https://vuldb.com/?ctiid.218387 - Third Party Advisory |
| CVSS |
v2 : unknown
v3 : unknown
|
v2 : unknown
v3 : 9.8
|
| First Time |
|
Predictapp Project predictapp
Predictapp Project
|
16 Jan 2023, 13:15
| Type |
Values Removed |
Values Added |
| New CVE |