CVE-2022-23077 Habitica - DOM XSS in login page

Medium 6.1 Published Updated

An attacker can execute arbitrary scripts in the victim's browser via the login page, potentially leading to session hijacking or account takeover.

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
None listed

What is CVE-2022-23077?

CVE-2022-23077 is a medium-severity cross-site scripting vulnerability in habitica, published on 22 Jun 2022. 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 habitica versions v4.119.0 through v4.232.2 are vulnerable to DOM XSS via the login page.

Weakness: CWE-79

Which versions are affected by CVE-2022-23077?

It affects 1 product.

Products include Habitica Habitica.

How do I fix CVE-2022-23077?

No fix has been published for CVE-2022-23077 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-23077 being exploited?

There is no known exploitation of CVE-2022-23077 in the wild and no public exploit code.

Sources

Also known as GHSA-87gq-2rrf-c96r.

Is CVE-2022-23077 in your software?

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

Check your SBOMs for free