Description
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 is rendered as a Click Me link that executes JavaScript.
Recommendation
Update the ngx-md package to the latest compatible version. Followings are version details:
- Affected version(s): < 6.0.3
- Patched version(s): 6.0.3
References
Could your website be exposed too?
SmartScanner can check your website for Cross-Site Scripting in ngx-md and gives you actionable findings to investigate.
Start a free scanRelated Issues
- Reflected cross-site scripting (XSS) vulnerability - CVE-2022-0087
- Cross-Site Scripting in fomantic-ui - Vulnerability
- Cross-Site Scripting in google-closure-library - Vulnerability
- Cross-Site Scripting in hexo-admin - Vulnerability


