CVE-2021-25926 Cross-site scripting in sickrage

Medium 6.1 Published Updated

Attackers can execute arbitrary scripts via the quicksearch feature to steal session IDs and hijack user accounts in SiCKRAGE.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2021-25926?

CVE-2021-25926 is a medium-severity cross-site scripting vulnerability in sickrage, published on 12 Apr 2021. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

In SiCKRAGE, versions 9.3.54.dev1 to 10.0.11.dev1 are vulnerable to Reflected Cross-Site-Scripting (XSS) due to user input not being validated properly in the `quicksearch` feature. Therefore, an attacker can steal a user's sessionID to masquerade as a victim user, to carry out any actions in the context of the user.

Weakness: CWE-79

Which versions are affected by CVE-2021-25926?

3 open source packages ship an affected version, including sickrage. It affects 1 product.

PackageAffectedFixed in
sickrage PyPIFrom 9.3.5410.0.11.dev2
sickrage PyPIFrom 9.3.5410.0.11.dev2
sickrage PyPIFrom 9.3.5510.0.12.dev1

Products include Sickrage Sickrage.

How do I fix CVE-2021-25926?

Upgrade sickrage to a fixed version for your release line: 10.0.11.dev2 or 10.0.12.dev1.

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-2021-25926 being exploited?

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

Sources

Also known as GHSA-x823-j7c4-vpc5, PYSEC-2021-148.

Is CVE-2021-25926 in your software?

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

Check your SBOMs for free