GHSA-XR53-M937-JR9C
Vulnerability from github – Published: 2020-09-03 15:49 – Updated: 2021-10-04 21:05
VLAI?
Summary
Cross-Site Scripting in ngx-md
Details
Versions of ngx-md prior to 6.0.3 are vulnerable to Cross-Site Scripting. Links are not properly restricted to http/https and can contain JavaScript which may lead to arbitrary code execution. Markdown input such as [Click Me](javascript:alert('Injected!'%29) is rendered as a Click Me link that executes JavaScript.
Recommendation
Upgrade to version 6.0.3 or later.
{
"affected": [
{
"package": {
"ecosystem": "npm",
"name": "ngx-md"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "6.0.3"
}
],
"type": "ECOSYSTEM"
}
]
}
],
"aliases": [],
"database_specific": {
"cwe_ids": [
"CWE-79"
],
"github_reviewed": true,
"github_reviewed_at": "2020-08-31T19:01:03Z",
"nvd_published_at": null,
"severity": "HIGH"
},
"details": "Versions of `ngx-md` prior to 6.0.3 are vulnerable to Cross-Site Scripting. Links are not properly restricted to http/https and can contain JavaScript which may lead to arbitrary code execution. Markdown input such as `[Click Me](javascript:alert(\u0027Injected!\u0027%29)` is rendered as a `Click Me` link that executes JavaScript.\n\n\n## Recommendation\n\nUpgrade to version 6.0.3 or later.",
"id": "GHSA-xr53-m937-jr9c",
"modified": "2021-10-04T21:05:25Z",
"published": "2020-09-03T15:49:14Z",
"references": [
{
"type": "WEB",
"url": "https://github.com/dimpu/ngx-md/issues/129"
},
{
"type": "PACKAGE",
"url": "https://github.com/dimpu/ngx-md"
},
{
"type": "WEB",
"url": "https://www.npmjs.com/advisories/1485"
}
],
"schema_version": "1.4.0",
"severity": [],
"summary": "Cross-Site Scripting in ngx-md"
}
Loading…
Loading…
Experimental. This forecast is provided for visualization only and may change without notice. Do not use it for operational decisions.
Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…