| Package | Affected versions | Patched versions |
|---|---|---|
| drupal/block_class | ≥ 4.0.0, < 4.0.1 | 4.0.1 |
| block class | ≥ 4.0.0, < 4.0.1 | 4.0.1 |
Block Class enables you to add custom attributes to blocks.
The module did not sufficiently sanitize custom attribute input, allowing for potential XSS attacks when malicious JavaScript was injected as a custom attribute.
This vulnerability is mitigated by the fact that an attacker must have a role with the permission "administer block classes".
Running one of these products? Scan your site to see whether it exposes a vulnerable version.
Scan my site free