The Plotly.js Graphing module provides a fully customizable implementation of the open source Plotly.js graphing library.
Impact
The Plotly.js Graphing module provides a fully customizable implementation of the open source Plotly.js graphing library.
Source excerpt · OSVThis vulnerability is mitigated by the fact that an attacker must have permission to edit a content entity with an attached plotly_js_graph field.
Affected packages
Start with the recorded fix for your release branch. Check your installed version and test compatibility before upgrading. Fixing this advisory does not rule out other vulnerabilities in the release.
| Affected range | Recorded fix |
|---|---|
| Earlier releases before 3.0.2Ecosystem versions | 3.0.2 |
Version evidence: OSV · DRUPAL-CONTRIB-2026-050
View original version evidence (0 explicit versions)
Original source description
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.