CVE-2017-12097 delayed_job_web Cross-site Scripting vulnerability

Medium 6.1 Published Updated

An attacker can execute arbitrary JavaScript in a victim's browser via a crafted URL in the delayed_job_web gem, requiring user interaction.

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-2017-12097?

CVE-2017-12097 is a medium-severity cross-site scripting vulnerability in Talos delayed_job_web rails gem, published on 19 Jan 2018. 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

An exploitable cross site scripting (XSS) vulnerability exists in the filter functionality of the delayed_job_web rails gem version 1.4. A specially crafted URL can cause an XSS flaw resulting in an attacker being able to execute arbitrary javascript on the victim's browser. An attacker can phish an authenticated user to trigger this vulnerability.

Weakness: CWE-79

Which versions are affected by CVE-2017-12097?

2 open source packages ship an affected version, including delayed_job_web. It affects 1 product.

PackageAffectedFixed in
delayed_job_web RubyGemsFrom 1.2.91.4.2
delayed_job_web RubyGemsFrom 1.2.91.4.2

Products include Delayed Job Web Project Delayed Job Web.

How do I fix CVE-2017-12097?

Upgrade delayed_job_web to 1.4.2 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-2017-12097 being exploited?

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

Sources

Also known as GHSA-w7q9-xr2x-wh7x.

Is CVE-2017-12097 in your software?

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

Check your SBOMs for free