GHSA-h3cq-j957-vhxg
Dashboard / Vulnerabilities / GHSA-h3cq-j957-vhxg
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.
References: https://nvd.nist.gov/vuln/detail/CVE-2022-1330, https://github.com/alvarotrigo/fullPage.js/pull/4360, https://github.com/alvarotrigo/fullpage.js/commit/e7a5db42711700c8a584e61b5e532a64039fe92b, https://github.com/alvarotrigo/fullpage.js, https://huntr.dev/bounties/08d2a6d0-772f-4b05-834e-86343f263c35
Affected packages
Package
Name: fullpage.js
Purl: pkg:npm/fullpage.js
Affected ranges
Type: SEMVER
Events:
Introduced- 0
Fixed -4.0.5
Affected versions
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
