Drupal security updates, in plain English · Module

Feed Block

530 sites report using it · on drupal.org · 1 security update explained here

This module displays lists of articles from external data feeds in small boxes on the website.

Below is every security update for Feed Block that this site has covered, newest first. Each one says who could exploit it, whether it applies to your site, how urgent it is, and what to tell your developer. If your site uses this module and you are not sure which version, that is the first question to ask whoever looks after it.

Feed Block

Moderately critical · 530 sites report using it · SA-CONTRIB-2026-137 · on drupal.org · Week of 9 September 2026

The module does not properly clean up the external data feed before displaying it on the screen. A user with an ordinary account could insert harmful scripts into the feed that run when someone views the page to read private information and change some data.

  • Who could do thisOnly someone with a login on your site.
  • Does it apply to youAny site using this module.
  • Has it been used in attacksNo sign of it.
  • How urgentDrupal rates this moderately critical. Include it in your next routine update, within the month.

Tell your developerUpdate Feed Block to 3.0.2 or 2.0.2, whichever branch you are on.

For developers: what the fix changed

The fix sanitises feed item URLs using `UrlHelper::stripDangerousProtocols()` and validates them with `UrlHelper::isValid()` in `RSSFeedFormatter.php`. It also changes the feed URL input field type from textfield to url in `RSSFeedWidget.php`.

Also in this release The release adds a security warning to the module help text and introduces a test module to mock feed requests.

3.0.1 to 3.0.2 3 commits, 7 files including 4 tests.

  • src/Hook/FeedBlockHooks.php +2 −0
  • src/Plugin/Field/FieldFormatter/RSSFeedFormatter.php +21 −11 fix
  • src/Plugin/Field/FieldWidget/RSSFeedWidget.php +1 −1 fix

Full diff, 3.0.1 to 3.0.2 · Full diff, 2.0.1 to 2.0.2

The comparison is against the release immediately before the fix. If your site is on an older release, more will have changed.

Not sure what your site is running?

Send me your Drupal site's address.

I'll tell you what I can see from outside, what the Drupal 10 end of life on 9 December means for it, and what it would cost to have me keep it patched. There's no charge for that and no obligation. peter@peterbrady.co.uk


Get in touch

Tell me who you are, what your organisation does, and what you need. That might be a Drupal site that needs looking after, an upgrade to get done before December, or an agency that needs Drupal cover.

If I can help, I'll say so and suggest a call. If I can't, I'll tell you straight away rather than waste your time.

peter@peterbrady.co.uk

For context: I work mainly with UK charities, membership bodies and research organisations, and with the agencies that look after their websites. Not recruiters.

Or start smaller and connect with me on LinkedIn. That's where I post what I find digging around in charity and grants data, and where the free tools turn up first.