Drupal security updates, in plain English · Module

View Unpublished

72,852 sites report using it · on drupal.org · 1 security update explained here

This module allows granting access to unpublished pieces of content per content type.

Below is every security update for View Unpublished 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.

View Unpublished

Moderately critical · 72,852 sites report using it · SA-CONTRIB-2026-235 · on drupal.org · Week of 21 October 2026

For pieces of content with at least one unpublished translation, the module grants every user with the access content access right view access to the published translations of that piece of content. Anyone with no login could view published translations they should not be able to see. They could not alter any translations.

  • Who could do thisAnyone visiting the site. No login needed.
  • Does it apply to youThe site must be multilingual, a piece of content must have both unpublished and published translations, and another access module must restrict view access to the published translations.
  • 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 View Unpublished to 8.x-1.5.

For developers: what the fix changed

Implements `hook_node_access_records_alter()` in `view_unpublished.module` to remove the `view_unpublished_published_content` grant if other modules provide grant records for the node, preventing it from overriding their access restrictions.

Also in this release Adds a post-update hook to rebuild node access and includes automated tests.

8.x-1.4 to 8.x-1.5 1 commit, 6 files including 4 tests.

  • view_unpublished.module +26 −0 fix
  • view_unpublished.post_update.php +28 −0

Full diff, 8.x-1.4 to 8.x-1.5

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 membership bodies, charities 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.