CVE-2020-8031 obs: Stored XSS

Medium 6.3 Published Updated

Remote attackers can inject malicious JavaScript into markdown content in Open Build Service, compromising confidentiality and integrity.

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
Available

What is CVE-2020-8031?

CVE-2020-8031 is a medium-severity cross-site scripting vulnerability in openSUSE Open Build Service, published on 11 Feb 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

A Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Open Build Service allows remote attackers to store JS code in markdown that is not properly escaped, impacting confidentiality and integrity. This issue affects: Open Build Service versions prior to 2.10.8.

Weakness: CWE-79

Which versions are affected by CVE-2020-8031?

It affects 1 product.

Products include Opensuse Open Build Service.

How do I fix CVE-2020-8031?

Upgrade to a fixed version.

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-2020-8031 being exploited?

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

Sources

Also known as DEBIAN-CVE-2020-8031, GHSA-6g6q-c7q8-8r7m, OESA-2022-1577, UBUNTU-CVE-2020-8031.

Is CVE-2020-8031 in your software?

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

Check your SBOMs for free