DRUPAL-CONTRIB-2026-050
Details
The Plotly.js Graphing module provides a fully customizable implementation of the open source Plotly.js graphing library.
The module stores some data as PHP-serialized strings. In some situations, malicious data can be written directly to the field. This can lead to an object injection vulnerability when the data are unserialized.
This vulnerability is mitigated by the fact that an attacker must have permission to edit a content entity with an attached `plotly_js_graph` field. In addition, the core JSON:API module must be enabled with the option "Accept all JSON:API create, read, update, and delete operations", which is not the default, or the attacker needs some other way to edit field values directly.
Are you affected?
Enter the version of the package you're using.
Affected packages
0 Fixed in: 3.0.2 Upgrade drupal/plotly_js to 3.0.2 or newer (ecosystem packagist:https://packages.drupal.org/8).