GitHub Advisoryadvisory · npm

GHSA-h3cq-j957-vhxg Cross-site Scripting in fullpage.js

MEDIUM Published 2022-04-13 Modified 2022-04-22 Official page ↗
Aliases
CVE-2022-1330
Ecosystem
npm
Packages
fullpage.js
Severity
Moderate
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Weaknesses
CWE-79
Reviewed
2022-04-22

Affected packages

• npm fullpage.js: < 4.0.5 → fixed in 4.0.5

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.

Related

Alias · CVE (1)

  • CVE-2022-1330 stored xss due to unsantized anchor url in GitHub repository alvarotrigo/fullpage.js prior to 4.0.4. vulnerability

Weakness · CWE (1)

  • CWE-79 Improper Neutralization of Input During Web Page Generation weakness

References