CVE-2022-45970 Alist Cross-site Scripting vulnerability

Medium 5.4 Published Updated

Attackers can inject malicious scripts into the bulletin board, potentially executing code or hijacking user accounts.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2022-45970?

CVE-2022-45970 is a medium-severity cross-site scripting vulnerability in n/a, published on 12 Dec 2022. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

Alist v3.5.1 is vulnerable to Cross Site Scripting (XSS) via the bulletin board.

Weakness: CWE-79

Which versions are affected by CVE-2022-45970?

2 open source packages ship an affected version, including github.com/alist-org/alist/v3. It affects 1 product.

PackageAffectedFixed in
github.com/alist-org/alist/v3 GoAll versions to 3.5.1None
github.com/alist-org/alist/v3 GoAll versions to 3.5.1None

Products include Alistgo Alist.

How do I fix CVE-2022-45970?

No fix has been published for CVE-2022-45970 yet. Limit exposure of the affected software until one is available.

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-45970 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-45970 exists.

Sources

Also known as GHSA-957m-g6rf-4c2m.

Is CVE-2022-45970 in your software?

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

Check your SBOMs for free