Active
Project:
Facets
Version:
3.0.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
14 May 2026 at 12:06 UTC
Updated:
14 May 2026 at 12:06 UTC
Jump to comment: Most recent
This was originally reported as a private security issue, but has been approved for handling in the public queue by the Drupal Security Team.
This code in dropdown-widget.js does not escape HTML characters in the URL before using it in the href attribute: https://git.drupalcode.org/project/facets/-/blob/99775089dbe158b2e80dc6f...
This can't be exploited for a reflected XSS because the browser always urlencodes the " character in window.location.href but it might still be worth hardening.
Use Drupal.checkPlain() on the attribute value.
Comments