CVE-2020-13869 Comments plugin stored Cross-site Scripting via a guest name

Medium 5.4 Published Updated

Stored XSS in Craft CMS Comments plugin allows attackers to inject scripts via guest names, potentially compromising user sessions.

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

CVE-2020-13869 is a medium-severity cross-site scripting vulnerability in n/a, published on 5 Jun 2020. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

An issue was discovered in the Comments plugin before 1.5.6 for Craft CMS. There is stored XSS via a guest name.

Weakness: CWE-79

Which versions are affected by CVE-2020-13869?

2 open source packages ship an affected version, including verbb/comments. It affects 1 product.

PackageAffectedFixed in
verbb/comments PackagistAll versions1.5.5
verbb/comments PackagistAll versions1.5.5

Products include Verbb Comments.

How do I fix CVE-2020-13869?

Upgrade verbb/comments to 1.5.5 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-2020-13869 being exploited?

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

Sources

Also known as GHSA-jhhf-c849-3rh2.

Is CVE-2020-13869 in your software?

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

Check your SBOMs for free