CVE-2024-1084 Cross-site scripting in Enterprise Server

Medium 6.5 Published Updated

Cross-site scripting in GitHub Enterprise Server allows attackers to modify user accounts via CSRF tokens and CSP bypass.

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-1084?

CVE-2024-1084 is a medium-severity cross-site scripting vulnerability in Github Enterprise Server, published on 13 Feb 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 in the tag name pattern field in the tag protections UI in GitHub Enterprise Server allows a malicious website that requires user interaction and social engineering to make changes to a user account via CSP bypass with created CSRF tokens. This vulnerability affected all versions of GitHub Enterprise Server prior to 3.12  and was fixed in all versions of 3.11.5, 3.10.7, 3.9.10, and 3.8.15. This vulnerability was reported via the GitHub Bug Bounty program.

Weakness: CWE-79

Which versions are affected by CVE-2024-1084?

It affects 1 product.

Products include Github Enterprise Server.

How do I fix CVE-2024-1084?

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

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

All Github Enterprise Server vulnerabilities

Sources

Also known as GHSA-hwq5-wx3r-8r5g.

Is CVE-2024-1084 in your software?

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

Check your SBOMs for free