CVE-2022-1330 stored xss due to unsantized anchor url in alvarotrigo/fullpage.js

Critical 9.4 Published Updated

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.

PackageAffectedFixed in
fullpage.js npmAll versions4.0.5
fullpage.js npmAll versions4.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.

Sources

Also known as GHSA-h3cq-j957-vhxg.

Is CVE-2022-1330 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free