What the vulnerability does
01Description
Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS) vulnerability in Vasilis Triantafyllou Flag Icons language-icons-flags-switcher allows Stored XSS.This issue affects Flag Icons: from n/a through <= 2.2.
Explanation of Vulnerability in Simple Terms
02Summary
Flag Icons contains a cross-site scripting (XSS) vulnerability affecting versions 2.2 and earlier. An authenticated user with high privileges can inject malicious scripts by crafting a specially crafted request. The vulnerability requires user interaction and can affect other users or components. Update to a version newer than 2.2 to remediate.
What an attacker can do
03Attacker Capabilities
Inject malicious scripts that execute in other users' browsers or affect site functionality.
Potential impact on your site
04Site Impact
Authenticated admins could be tricked into executing scripts that compromise site integrity or steal session data.
Conditions required to exploit
05Prerequisites
Attacker must have high-level admin or privileged account access and trick a user into visiting a malicious link.
Key dates
06Disclosure timeline
March 31, 2025
CVE published
April 28, 2026
Record updated