Install

Works with Drupal: ^11.3 || ^12

Using Composer to manage Drupal site dependencies

Alternative installation files

Download tar.gz 617.17 KB
MD5: 415369f4ad2f16b6c1540af670a4dab5
SHA-1: 46e5a5f2598b479e976b2c092f4e7aab332d71c9
SHA-256: df9a6708f075609ae1b8c57e1acf6dfd401b08e1c8007cbbae8e81bcafb3b365
Download zip 896.73 KB
MD5: 919758f9b64891ecc15d40ba2f0548da
SHA-1: d9364268352afe8c07a6b36a2b90de14c787cabd
SHA-256: c15d92d55a7b79864f0c73d664cd4fbf3cf382c26cbc5ac43a3fe518f51cab78

Release notes

WARNING: THERE IS NO MIGRATION PATH FROM A RELEASE BEFORE 1.0.0-ALPHA12.

Do not update a site running alpha11 or earlier to this release. Personal Data Vault ships no update hooks, and none is coming until the first beta release. A site on alpha11 or earlier must uninstall the Personal Data Vault modules and install 1.0.0-alpha14 fresh, as the alpha12 release notes describe. From alpha12 or alpha13, this release changes code only: no configuration, schema or stored data changes. Rebuild the cache after installing.

Security: a return path with a tab or a line break left the site

A browser deletes tabs and line breaks anywhere in a URL. So a slash, a tab, then /evil.example becomes //evil.example, which is another host. Alpha13 accepted such a return_to in two places:

  • the vault's unlock form, which sent the owner there right after they unlocked their vault;
  • the consumer site's unlock and consent flows, which sent the owner there when they came back from the vault.

Both now refuse a return path that holds a control character, or that Drupal's UrlHelper::isExternal() calls external. The unlock form then falls back to the owner's vault page, and the consumer site to its front page. The vault's local consent page applies the same rule. It already stayed on the vault site, because it adds the site's own address to the path (Issue 3620302, Issue 3620304).

The operator's own Vault access page is refused

The Vault access tab on a user's profile lets an operator inspect that user's vault. On the operator's own profile, the tab was hidden, but its page still opened by URL. It is now refused there with a 403. The Vault tab already shows that vault, with its data and every action. On another user's profile, nothing changes (Issue 3620303).

Fewer listeners on every request

  • A consumer site's API call now extends an unlock kept open by page navigation when the API finishes its answer. The X-Pdv-Vault-Unlock-Expires-In header counts that extension. A call refused with the uniform 403 or a 429 no longer extends the unlock.
  • The listener that extends an unlock while the owner browses the vault site now handles only the vault site's unlock cookie. It is registered only while some tenant uses Any page the owner visits. On a site where every tenant uses Reading or saving vault items only, it no longer runs at all. A $config override in settings.php counts.
  • Saving the PDV settings form, or saving or deleting a tenant, rebuilds the container when that answer changes. If you change the site-wide choice another way, for example with drush config:set or a configuration import, rebuild the cache afterwards.
  • Once no tenant uses Any page the owner visits, pages on the vault site stop extending unlocks at once. That includes the unlocks still open that were made under that choice (Issue 3620303).

For developers

  • New: Drupal\pdv\InternalPathPolicy::isInternalPath(), the one rule for a return path that stays on the site.
  • New: Drupal\pdv_engine\PdvEngineServiceProvider, and the service Drupal\pdv_engine\PageNavigationUse. SettingsForm takes PageNavigationUse as a new constructor argument.
  • ConsumerFlowTrait::getInternalReturnTo() is renamed getInternalReturnPath().
  • VaultUnlockSubscriber no longer reads the unlock header, and is not always in the container.
  • Removed: Drupal\pdv_engine\Hook\LocalTasksHooks.
Created by: mably
Created on: 19 Oct 2026 at 15:22 UTC
Last updated: 19 Oct 2026 at 15:22 UTC
Bug fixes

Other releases