Postponed (maintainer needs more info)
Project:
Token
Version:
8.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
10 Feb 2026 at 17:08 UTC
Updated:
7 Jul 2026 at 18:47 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
sabrina.liman commentedComment #4
andreadruiz commentedComment #5
andreadruiz commentedComment #6
andreadruiz commentedI’m adding a different permission. It seems this should be configurable via site builders, so the solution should be based on a different approach, rather than adding this type of permission (Drupal role-based permissions).
Comment #7
damienmckennaChanging this to the "security improvements" tag as the underlying functionality is protected by CSRF.
The two suggested changes might work for some sites, but wouldn't necessarily work for all, due to how the token browser can be made available in specific places that aren't locked down to only admins, e.g. in the Metatag field on content.
Comment #8
damienmckennaComment #9
dave reidHmm, I'd like to think on this one, what the impact is, and to move carefully with this. I definitely intended for the user of the token link to use the appropriate access control for their uses. This feels like an API, use responsibly.
I feel like I can think of valid scenarios that this could break functionality on existing sites where the token tree link might be on a front-end and not only on the backend (although they are a wide majority of use cases).
Comment #10
berdirYes, this has been reported as a security issue before 3 years ago, but I could never reproduce it there and it was closed. damienmckenna, you were in that one too.
Can you provide steps how an anonymous user without a token tree link displayed on the site (at which points it is kind of a deliberate decision to expose it I guess) can access this?
Tokens can be available to most users, in theory even anonymous, although that's probably pretty uncommon and risky even. An administrative permission is definitely not going to work.
Comment #11
benstallings commentedI had Claude look into this issue and got,
@berdir, should I add an "access token tree" permission on this fork, or does that feel unnecessary?