Drupal security updates, in plain English · Module

Entity Print

33,372 sites report using it · on drupal.org · 1 security update explained here

This module lets you print and export pieces of content to PDF and other document formats.

Below is every security update for Entity Print 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.

Entity Print

Moderately critical · 33,372 sites report using it · SA-CONTRIB-2026-327 · on drupal.org · Week of 11 November 2026

The module sends private session data to external servers when generating a PDF that includes external resources. Someone with an ordinary account could use this to steal session data and impersonate other users who print that content. They could access hidden session data and modify information on the site by acting as someone else.

  • Who could do thisOnly someone with a login on your site.
  • Does it apply to youA site is affected if an attacker can create or edit content using a text format that allows images or styles from arbitrary sites.
  • 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 Entity Print to 8.x-2.20.

For developers: what the fix changed

The fix modifies `DomPdf::setupHttpContext` and adds `scopeHttpContextHeaders` and `isOwnHost` in `src/Plugin/EntityPrint/PrintEngine/DomPdf.php` to ensure that sensitive headers like session cookies and HTTP authentication are only sent to the site's own host, and disables following redirects.

8.x-2.19 to 8.x-2.20 1 commit, 2 files including 1 test.

  • src/Plugin/EntityPrint/PrintEngine/DomPdf.php +85 −7 fix

Full diff, 8.x-2.19 to 8.x-2.20

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.