The Flag module allows creation of customizable flags on entities.
Flag does not properly sanitize the name of a flag on the main flag administration page, allowing a malicious user to embed scripts within a page, resulting in a Cross-site Scripting (XSS) vulnerability.
This vulnerability is mitigated by the fact that an attacker must have the ‘Administer flags’ permission.
Drupal core is not affected. If you do not use the contributed Flag module, there is nothing you need to do.
Install the latest version:
Also see the Flag project page.