GHSA-h3cq-j957-vhxg

Suggest an improvement
Source
https://github.com/advisories/GHSA-h3cq-j957-vhxg
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/04/GHSA-h3cq-j957-vhxg/GHSA-h3cq-j957-vhxg.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-h3cq-j957-vhxg
Aliases
Published
2022-04-13T00:00:16Z
Modified
2023-11-08T04:07:47Z
Severity
  • 5.4 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N CVSS Calculator
Summary
Cross-site Scripting in fullpage.js
Details

using fullpage.js you can create a anchor tag . But when put href in anchor then it does not sanitize the url which allow for a break in the context of anchor element and can add our new element.

Database specific
{
    "cwe_ids":  [
        "CWE-79"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2022-04-22T20:26:49Z",
    "nvd_published_at":  "2022-04-12T21:15:00Z",
    "severity":  "MODERATE"
}
References

Affected packages

npm / fullpage.js

Package

Affected ranges

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

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/04/GHSA-h3cq-j957-vhxg/GHSA-h3cq-j957-vhxg.json"