CVE-2021-28833 qiita-markdown Cross-site Scripting vulnerability

Medium 6.1 Published Updated

Attackers can execute arbitrary scripts in user browsers via crafted gist links in the Qiita::Markdown Ruby library.

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
Available

What is CVE-2021-28833?

CVE-2021-28833 is a medium-severity cross-site scripting vulnerability in n/a, published on 21 Jun 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

Increments Qiita::Markdown before 0.34.0 allows XSS via a crafted gist link, a different vulnerability than CVE-2021-28796.

Weakness: CWE-79

Which versions are affected by CVE-2021-28833?

2 open source packages ship an affected version, including qiita-markdown. It affects 1 product.

PackageAffectedFixed in
qiita-markdown RubyGemsAll versions0.34.0
qiita-markdown RubyGemsAll versions0.34.0

Products include Increments Qiita\.

How do I fix CVE-2021-28833?

Upgrade qiita-markdown to 0.34.0 or later.

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-28833 being exploited?

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

Sources

Also known as GHSA-9p29-94hp-8rvc.

Is CVE-2021-28833 in your software?

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

Check your SBOMs for free