Cross-Site Scripting in ngx-md
Key facts
- Attack vector
- —
- Privileges required
- —
- User interaction
- —
- Attack complexity
- —
- Impact type
- Cross-site scripting
- Confidentiality · integrity · availability
- —
- Fix status
- Fixed
No CVSS vector from any source. Fix status from GitHub. Impact type from CWE-79.
Summary
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | ngx-md (npm) | before 6.0.3 | 6.0.3 | Patch available | GHSA-xr53-m937-jr9c |
- ngx-md (npm) Vendor— Affected before 6.0.3 Fixed in 6.0.3 Patch available GHSA-xr53-m937-jr9c
Remediation
- Fix · GHSA-xr53-m937-jr9c ngx-md (npm) Fixed in 6.0.3 Advisory →
Timeline
- 2026-10-03 Threatist record created from GHSA-xr53-m937-jr9c
References
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences