CVE-2024-31137 Cross-site scripting in TeamCity
Reflected XSS in JetBrains TeamCity allows attackers to execute scripts via Space connection configuration, potentially leading to 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-2024-31137?
CVE-2024-31137 is a medium-severity cross-site scripting vulnerability in Jetbrains Teamcity, published on 28 Mar 2024. 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 JetBrains TeamCity before 2024.03 reflected XSS was possible via Space connection configuration
Weakness: CWE-79
Which versions are affected by CVE-2024-31137?
It affects 1 product.
Products include Jetbrains Teamcity.
How do I fix CVE-2024-31137?
No fix has been published for CVE-2024-31137 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-31137 being exploited?
There is no known exploitation of CVE-2024-31137 in the wild and no public exploit code.
Other vulnerabilities in Jetbrains Teamcity
Sources
Also known as GHSA-8h97-3wj9-m4mh.