CVE-2021-21319 Several stored XSS

Medium 6.8 Published Updated

Attackers can inject malicious JavaScript into Galette's self-subscription, login, and password retrieval pages, potentially compromising user sessions.

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-2021-21319?

CVE-2021-21319 is a medium-severity cross-site scripting vulnerability in galette, published on 25 Oct 2021. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

Galette is a membership management web application geared towards non profit organizations. In versions prior to 0.9.5, malicious javascript code can be stored to be displayed later on self subscription page. The self subscription feature can be disabled as a workaround (this is the default state). Malicious javascript code can be executed (not stored) on login and retrieve password pages. This issue is patched in version 0.9.5.

Weakness: CWE-79

Which versions are affected by CVE-2021-21319?

It affects 1 product.

Products include Galette Galette.

How do I fix CVE-2021-21319?

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

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

Sources

Also known as GHSA-vjc9-mj44-x59q, UBUNTU-CVE-2021-21319.

Is CVE-2021-21319 in your software?

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

Check your SBOMs for free