Drupal security updates, in plain English · Module

Data field

291 sites report using it · on drupal.org · 3 security updates explained here

This module provides a way to store structured data with multiple parts and includes a search feature.

Below is every security update for Data field 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.

Data field

Moderately critical · 291 sites report using it · SA-CONTRIB-2026-339 · on drupal.org · Week of 11 November 2026

The search feature does not properly clean up stored data before showing it as a suggestion. Someone with an ordinary account could add harmful code that runs when other people view the suggestions. They could uncover hidden information and alter data on the site.

  • Who could do thisOnly someone with a login on your site.
  • Does it apply to youA site is affected if the attacker has the access right to edit a piece of content with this data field and the search feature is turned on for that field.
  • 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 Data field to 3.0.1 or 2.0.15, whichever branch you are on.

For developers: what the fix changed

The fix escapes the value and label returned by the autocomplete endpoint using Html::escape and Html::decodeEntities in JsonController.

3.0.0 to 3.0.1 1 commit, 1 file.

  • src/Controller/JsonController.php +3 −2 fix

Full diff, 3.0.0 to 3.0.1 · Full diff, 2.0.14 to 2.0.15

The comparison is against the release immediately before the fix. If your site is on an older release, more will have changed.

Data field

Moderately critical · 335 sites report using it · SA-CONTRIB-2026-250 · on drupal.org · Week of 21 October 2026

The module does not properly escape filenames when rendering links to uploaded files. An administrator account could view hidden data through these links and alter or add new information to the site.

  • Who could do thisOnly someone with an administrator login.
  • Does it apply to youAn attacker must have a role with the access right to upload files into a Data Field file subfield.
  • 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 Data field to 2.0.14.

For developers: what the fix changed

The fix updates FileUriFormatter.php to pass the filename as a placeholder to FormattableMarkup rather than concatenating it directly, ensuring it is properly escaped.

Also in this release Added a kernel test to verify filename escaping.

2.0.13 to 2.0.14 1 commit, 2 files including 1 test.

  • src/Plugin/DataField/FieldFormatter/FileUriFormatter.php +2 −1 fix

Full diff, 2.0.13 to 2.0.14

The comparison is against the release immediately before the fix. If your site is on an older release, more will have changed.

Data field

Moderately critical · 339 sites report using it · SA-CONTRIB-2026-108 · on drupal.org · Week of 26 August 2026

Anyone without logging in could use a data feed to ask for specific stored information. This would allow them to read unpublished content or other private details. They could not change any of the information.

  • Who could do thisAnyone visiting the site. No login needed.
  • Does it apply to youAny site using this module.
  • 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 Data field to 2.0.13.

For developers: what the fix changed

The fix modifies `JsonController::json` to query and load entities using the entity storage with access checks (`$storage->getQuery()->accessCheck(TRUE)` and `$entity->access('view')`), rather than querying the database table directly.

Also in this release Added an export file name option for the data field table formatter, implemented plugin caching for performance improvements, and fixed minor typos.

2.0.12 to 2.0.13 3 commits, 9 files including 1 test.

  • config/schema/datafield.schema.yml +0 −0
  • src/Controller/JsonController.php +60 −49 fix
  • src/Plugin/DataFieldFormatterInterface.php +1 −1
  • src/Plugin/DataFieldWidgetInterface.php +1 −1
  • src/Plugin/Field/FieldFormatter/Base.php +8 −2
  • src/Plugin/Field/FieldFormatter/DataFieldTable.php +32 −1
  • src/Plugin/Field/FieldType/DataFieldItem.php +98 −82
  • src/Plugin/Field/FieldWidget/Base.php +28 −16

Full diff, 2.0.12 to 2.0.13

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.