Backdrop CMS Flag Module Cross-Site Scripting Vulnerability

Vulnerability

A cross-site scripting (XSS) vulnerability has been identified in the Flag module for Backdrop CMS, affecting versions prior to 1.x-3.6.2. The Flag module allows users to add flags to various entities, including nodes, comments, and users. The vulnerability arises because the module does not validate flag links before executing flag actions, nor does it ensure that the responses are from the flag module. This oversight can be exploited to inject crafted HTML, leading to XSS. The vulnerability is somewhat mitigated by the requirement for an attacker to have a role that permits link creation, such as the ability to create or edit comments or content with a filtered text format.

Impact

Exploitation of this vulnerability allows for cross-site scripting, where an attacker can inject malicious scripts that are executed in the context of the user's browser.

Remediation

Users are advised to upgrade to the latest version of the Flag module.

Added: Jun 9, 2025, 7:46 PM
Updated: Jun 9, 2025, 7:46 PM

Vulnerability Rating

Custom Algorithm
spread
0.0
impact
1.7
exploitability
5.0
remediation
7.7
relevance
0.0
threat
0.0
urgency
2.9
incentive
1.7

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.