{"id":"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.","aliases":["CVE-2022-1330"],"modified":"2023-11-01T04:57:20.394489Z","published":"2022-04-13T00:00:16Z","database_specific":{"severity":"MODERATE","github_reviewed":true,"github_reviewed_at":"2022-04-22T20:26:49Z","nvd_published_at":"2022-04-12T21:15:00Z","cwe_ids":["CWE-79"]},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-1330"},{"type":"WEB","url":"https://github.com/alvarotrigo/fullPage.js/pull/4360"},{"type":"WEB","url":"https://github.com/alvarotrigo/fullpage.js/commit/e7a5db42711700c8a584e61b5e532a64039fe92b"},{"type":"PACKAGE","url":"https://github.com/alvarotrigo/fullpage.js"},{"type":"WEB","url":"https://huntr.dev/bounties/08d2a6d0-772f-4b05-834e-86343f263c35"}],"affected":[{"package":{"name":"fullpage.js","ecosystem":"npm","purl":"pkg:npm/fullpage.js"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"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"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N"}]}