QID 983172
QID 983172: Nodejs (npm) Security Update for marked (GHSA-vfvf-mqq8-rwqc)
Affected versions of `marked` are susceptible to a cross-site scripting vulnerability in link components when `sanitize:true` is configured.
## Proof of Concept
This flaw exists because link URIs containing HTML entities get processed in an abnormal manner. Any HTML Entities get parsed on a best-effort basis and included in the resulting link, while if that parsing fails that character is omitted.
For example:
A link URI such as
```
javascript֍ocument;alert(1)
```
Renders a valid link that when clicked will execute `alert(1)`.
## Recommendation
Update to version 0.3.6 or later.
Successful exploitation of this vulnerability may affect the confidentiality, integrity, and availability of the targeted user.
Solution
Customers are advised to refer to GHSA-vfvf-mqq8-rwqc for updates pertaining to this vulnerability.
Vendor References
- GHSA-vfvf-mqq8-rwqc -
github.com/advisories/GHSA-vfvf-mqq8-rwqc
CVEs related to QID 983172
Software Advisories
| Advisory ID | Software | Component | Link |
|---|---|---|---|
| GHSA-vfvf-mqq8-rwqc | marked |
|