Flag - Moderately critical - Cross Site Scripting - BACKDROP-SA-CONTRIB-2025-011
Flag module allows flags to be added to nodes, comments, users, and any other type of entity.
The module doesn't verify flag links before performing the flag action, or verify that the response returned was provided by the flag module. This can allow specially crafted HTML to result in Cross Site Scripting.
This vulnerability is mitigated by the fact that an attacker must have a role with permission to create links on the website, for example: create or edit comments or content with a filtered text format.
A CVE has been requested, and this page will be updated as soon as an official number has been issued.
- Flag versions prior to 1.x-3.6.2