CVE-2020-13459 Image Resizer Cross-site Scripting (XSS) in the Bulk Resize action

Medium 5.4 Published Updated

Stored XSS in the Image Resizer plugin for Craft CMS allows attackers to inject malicious scripts via the Bulk Resize action.

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

CVE-2020-13459 is a medium-severity cross-site scripting vulnerability in n/a, published on 25 May 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 Image Resizer plugin before 2.0.9 for Craft CMS. There is stored XSS in the Bulk Resize action.

Weakness: CWE-79

Which versions are affected by CVE-2020-13459?

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

PackageAffectedFixed in
verbb/image-resizer PackagistAll versions2.0.9
verbb/image-resizer PackagistAll versions2.0.9

Products include Verbb Image Resizer.

How do I fix CVE-2020-13459?

Upgrade verbb/image-resizer to 2.0.9 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-13459 being exploited?

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

Sources

Also known as GHSA-p7rm-gh9g-5fr8.

Is CVE-2020-13459 in your software?

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

Check your SBOMs for free