CVE-2022-1330 stored xss due to unsantized anchor url in alvarotrigo/fullpage.js
Stored XSS vulnerability in fullpage.js allows attackers to inject malicious scripts via unsanitized anchor URLs, potentially compromising user sessions.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2022-1330?
CVE-2022-1330 is a critical cross-site scripting vulnerability in alvarotrigo/fullpage.js, published on 12 Apr 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
stored xss due to unsantized anchor url in GitHub repository alvarotrigo/fullpage.js prior to 4.0.4. stored xss .
Weakness: CWE-79
Which versions are affected by CVE-2022-1330?
2 open source packages ship an affected version, including fullpage.js. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
fullpage.js npm | All versions | 4.0.5 |
fullpage.js npm | All versions | 4.0.5 |
Products include Fullpage Project Fullpage.
How do I fix CVE-2022-1330?
Upgrade fullpage.js to 4.0.5 or later.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2022-1330 being exploited?
There is no known exploitation of CVE-2022-1330 in the wild and no public exploit code.
Other vulnerabilities in alvarotrigo/fullpage.js
Sources
Also known as GHSA-h3cq-j957-vhxg.