Drupal Core is prone to a cross-site scripting vulnerability because it fails to properly sanitize user-supplied input. An attacker may leverage this issue to execute arbitrary script code in the browser of an unsuspecting user in the context of the affected site. This can allow the attacker to steal cookie-based authentication credentials and launch other attacks. Drupal Core versions 9.1.x ranging from 9.1.0 and up to and including 9.1.6 are vulnerable.
Update to Drupal Core version 9.1.7 or latest