GHSA-qj3f-9gmq-fwv5

Suggest an improvement
Source
https://github.com/advisories/GHSA-qj3f-9gmq-fwv5
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2019/04/GHSA-qj3f-9gmq-fwv5/GHSA-qj3f-9gmq-fwv5.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-qj3f-9gmq-fwv5
Aliases
Published
2019-04-09T19:47:29Z
Modified
2023-11-08T04:01:48Z
Severity
  • 6.1 (Medium) CVSS_V3 - CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N CVSS Calculator
Summary
Cross-Site Scripting in simple-markdown
Details

Versions of simple-markdown prior to 0.4.4 are vulnerable to Cross-Site Scripting. Due to insufficient input sanitization the package may render output containing malicious JavaScript. This vulnerability can be exploited through input of links containing data or VBScript URIs and a base64-encoded payload.

Recommendation

Upgrade to version 0.4.4 or later.

Database specific
{
    "cwe_ids":  [
        "CWE-79"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2020-06-16T21:52:07Z",
    "nvd_published_at":  null,
    "severity":  "MODERATE"
}
References

Affected packages

npm / simple-markdown

Package

Name
simple-markdown
View open source insights on deps.dev
Purl
pkg:npm/simple-markdown

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
0.4.4

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2019/04/GHSA-qj3f-9gmq-fwv5/GHSA-qj3f-9gmq-fwv5.json"