alvarotrigo/fullpage.js · Security
Cross-site Scripting in fullpage.js
- GHSA ID
- GHSA-h3cq-j957-vhxg
- CVE ID
- CVE-2022-1330
- Severity
- medium
- Published
- Updated
- CVSS
- 5.4 · CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
- CVSS v3
- 5.4 · CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Description
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.
CWEs
- CWE-79 · Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
References
- https://nvd.nist.gov/vuln/detail/CVE-2022-1330 ↗
- https://github.com/alvarotrigo/fullpage.js/commit/e7a5db42711700c8a584e61b5e532a64039fe92b ↗
- https://huntr.dev/bounties/08d2a6d0-772f-4b05-834e-86343f263c35 ↗
- https://github.com/alvarotrigo/fullPage.js/pull/4360 ↗
- https://github.com/advisories/GHSA-h3cq-j957-vhxg ↗