Drupal security updates, in plain English · Module

Plotly.js Graphing

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

This module provides a way to create and display custom graphs and charts.

Below is every security update for Plotly.js Graphing 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.

Plotly.js Graphing

Critical · 46 sites report using it · SA-CONTRIB-2026-050 · on drupal.org · Week of 17 June 2026

An ordinary account on the site could write malicious data directly into a graph field. This could allow them to view or alter any information on the site including the underlying code.

  • Who could do thisOnly someone with a login on your site.
  • Does it apply to youA site is affected if a person has access rights to edit a piece of content with a graph field and the site allows full edit access through a data feed or another direct method.
  • Has it been used in attacksNo sign of it.
  • How urgentDrupal rates this critical. Cyber Essentials expects a fix within 14 days. Do it this week.

Tell your developerUpdate Plotly.js Graphing to 3.0.2 or 4.0.0, whichever branch you are on.

For developers: what the fix changed

The fix prevents object injection by passing an array with allowed classes set to false to the unserialize function in PlotlyJsGraphFormatter.php and PlotlyJsGraphWidget.php. It also adds the serialized property names annotation to the PlotlyJsGraph field type in PlotlyJsGraph.php.

Also in this release Added a Drush 9 command to download the Plotly.js library and updated the README file.

3.0.1 to 3.0.2 2 commits, 6 files.

  • README.md +2 −2
  • drush.services.yml +8 −0
  • src/Commands/PlotlyJsCommands.php +68 −0
  • src/Plugin/Field/FieldFormatter/PlotlyJsGraphFormatter.php +2 −2 fix
  • src/Plugin/Field/FieldType/PlotlyJsGraph.php +4 −0 fix
  • src/Plugin/Field/FieldWidget/PlotlyJsGraphWidget.php +2 −2 fix

Full diff, 3.0.1 to 3.0.2 · Full diff, 3.0.2 to 4.0.0

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.