DRUPAL-CONTRIB-2020-024 This module enables you to add a configured ReadSpeaker button for text-to-speech for your site visitors.

Not scored Published

An attacker with block administration permissions can inject malicious scripts via unsanitized configuration, leading to XSS attacks against site visitors.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is DRUPAL-CONTRIB-2020-024?

DRUPAL-CONTRIB-2020-024 is a cross-site scripting vulnerability in drupal/open_readspeaker, published on 10 Jun 2020. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link.

Official description

This module enables you to add a configured ReadSpeaker button for text-to-speech for your site visitors.

The module doesn't sufficiently sanitize block configuration causing a Cross Site Scripting (XSS) vulnerability.

This vulnerability is mitigated by the fact that an attacker must have a role with the permission "administer blocks".

Which versions are affected by DRUPAL-CONTRIB-2020-024?

Linux distribution packages (1)
drupal/open_readspeaker Packagist:https://packages.drupal.org/8All versions1.5.0

How do I fix DRUPAL-CONTRIB-2020-024?

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 DRUPAL-CONTRIB-2020-024 being exploited?

There is no known exploitation of DRUPAL-CONTRIB-2020-024 in the wild and no public exploit code.

Sources

Is DRUPAL-CONTRIB-2020-024 in your software?

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

Check your SBOMs for free