CVE-2025-31575 WordPress Flag Icons plugin <= 2.2 - Cross Site Scripting (XSS) vulnerability
Stored XSS in Flag Icons plugin allows attackers to inject malicious scripts, potentially compromising user sessions and site integrity.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2025-31575?
CVE-2025-31575 is a medium-severity cross-site scripting vulnerability in Vasilis Triantafyllou Flag Icons, published on 31 Mar 2025. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link.
Official description
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.
Weakness: CWE-80
Which versions are affected by CVE-2025-31575?
How do I fix CVE-2025-31575?
No fix has been published for CVE-2025-31575 yet. Limit exposure of the affected software until one is available.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2025-31575 being exploited?
There is no known exploitation of CVE-2025-31575 in the wild and no public exploit code.
Sources
Also known as GHSA-v2gc-j689-433p.