GHSA-xr53-m937-jr9c
HIGHCross-Site Scripting in ngx-md
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
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | npm | ngx-md | < 6.0.3 | 6.0.3 |
References
- https://github.com/dimpu/ngx-md/issues/129 · WEB
- https://github.com/dimpu/ngx-md · PACKAGE
- https://www.npmjs.com/advisories/1485 · WEB
History
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 3 Sep 2020)