This module enables you to disable direct access to node pages (node/XXX) based on nodetypes and permissions.

The module issues a NODE_ACCESS_ALLOW if it's permissions are met, but does not respect the "administer nodes" or "access own unpublished content" permissions. The consequence is that this module grants access to unpublished content to any role that has the "view any node page" or "view any node {type} page" permissions.

CVE: CVE-2012-4473

Versions affected

  • Restrict node page view 7.x-1.x versions prior to 7.x-1.2.

Drupal core is not affected. If you do not use the contributed Restrict node page view module, there is nothing you need to do.


Install the latest version:

Also see the Restrict node page view project page.

Reported by

Fixed by

Coordinated by

Contact and More Information

The Drupal security team can be reached at security at or via the contact form at

Learn more about the Drupal Security team and their policies, writing secure code for Drupal, and securing your site.