CVE-2021-31903 Cross-site scripting in n/a
Insufficient sanitization of pull request titles in JetBrains YouTrack allows attackers to execute arbitrary scripts via Cross-Site Scripting.
- 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-2021-31903?
CVE-2021-31903 is a medium-severity cross-site scripting vulnerability in Jetbrains Youtrack, published on 11 May 2021. 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 YouTrack before 2021.1.9819, a pull request's title was sanitized insufficiently, leading to XSS.
Weakness: CWE-79
Which versions are affected by CVE-2021-31903?
It affects 1 product.
Products include Jetbrains Youtrack.
How do I fix CVE-2021-31903?
No fix has been published for CVE-2021-31903 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-31903 being exploited?
There is no known exploitation of CVE-2021-31903 in the wild and no public exploit code.
Other vulnerabilities in Jetbrains Youtrack
Sources
Also known as GHSA-474g-w58m-p2m4.