CVE-2024-2211 Cross-Site Scripting vulnerability in Gophish Admin Panel

Medium 4.6 Published Updated

Attackers can inject malicious JavaScript into Gophish campaigns, potentially compromising admin sessions and executing code when campaigns are deleted.

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-2024-2211?

CVE-2024-2211 is a medium-severity cross-site scripting vulnerability in Gophish Admin Panel, published on 6 Mar 2024. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

Cross-Site Scripting stored vulnerability in Gophish affecting version 0.12.1. This vulnerability could allow an attacker to store a malicious JavaScript payload in the campaign menu and trigger the payload when the campaign is removed from the menu.

Weakness: CWE-79

Which versions are affected by CVE-2024-2211?

It affects 1 product.

Products include Getgophish Gophish.

How do I fix CVE-2024-2211?

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

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

Sources

Also known as GHSA-h8r2-vw8v-933p.

Is CVE-2024-2211 in your software?

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

Check your SBOMs for free