GHSA-3q6f-8grx-pr4v

Suggest an improvement
Source
https://github.com/advisories/GHSA-3q6f-8grx-pr4v
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/05/GHSA-3q6f-8grx-pr4v/GHSA-3q6f-8grx-pr4v.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-3q6f-8grx-pr4v
Aliases
  • CVE-2020-7691
Published
2021-05-11T16:43:52Z
Modified
2023-11-08T04:04:05.072653Z
Severity
  • 6.1 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N CVSS Calculator
Summary
Cross-site scripting in jspdf
Details

It's possible to use nested script tags in order to bypass the filtering regex.

Database specific
{
    "severity": "MODERATE",
    "cwe_ids": [
        "CWE-79"
    ],
    "github_reviewed_at": "2021-04-09T17:33:02Z",
    "github_reviewed": true,
    "nvd_published_at": "2020-07-06T13:15:00Z"
}
References

Affected packages

npm / jspdf

Package

Affected ranges

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

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/05/GHSA-3q6f-8grx-pr4v/GHSA-3q6f-8grx-pr4v.json"