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.
Published: 2025-03-31
Score: 5.9 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

This vulnerability is a stored cross‑site scripting flaw caused by improper neutralization of script‑related HTML tags. An attacker who can submit data that is later rendered by the WordPress Flag Icons plugin can inject JavaScript that will execute in the browsers of any visitor to the site that loads the affected plugin output. As a result, attackers could hijack user sessions, steal sensitive information, or perform click‑jacking or phishing attacks. The weakness is categorized as CWE‑80 and carries a CVSS score of 5.9, indicating a moderate level of severity.

Affected Systems

The flaw impacts the WordPress Flag Icons plugin (developed by Vasilis Triantafyllou, Flag Icons) in all releases up to and including version 2.2. WordPress sites that have this plugin installed and are running a vulnerable version are at risk, regardless of the site host or theme. Direct interaction with the plugin’s language‑selector interface or configuration pages can store malicious input that later is displayed to site visitors.

Risk and Exploitability

With a CVSS score of 5.9 and an EPSS of less than 1%, the vulnerability is considered moderate but unlikely to be widely targeted in the short term. It is not listed in the CISA KEV catalog. An attacker would need the ability to inject and store data via the plugin’s provided interface or to exploit an existing stored payload. Once stored, the payload executes on every page that loads the plugin’s output, potentially affecting all users who view those pages. Because the flaw persists through user‑generated content, its exploitation circumvents typical WordPress role restrictions if the site allows non‑admin users to alter plugin‑related fields.

Generated by OpenCVE AI on May 1, 2026 at 03:00 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the Flag Icons plugin to a version newer than 2.2 that contains the XSS fix.
  • If an upgrade is not immediately possible, deactivate or uninstall the plugin to eliminate the vulnerability.
  • After applying a fix or removal, verify that the site no longer accepts or displays malicious script input in the flag selector or language‑switching pages.

Generated by OpenCVE AI on May 1, 2026 at 03:00 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
EUVD EUVD EUVD-2025-8752 Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS) vulnerability in Vasilis Triantafyllou Flag Icons allows Stored XSS. This issue affects Flag Icons: from n/a through 2.2.
History

Thu, 23 Apr 2026 15:00:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 5.9, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:L'}


Wed, 01 Apr 2026 23:45:00 +0000

Type Values Removed Values Added
Description Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS) vulnerability in Vasilis Triantafyllou Flag Icons allows Stored XSS. This issue affects Flag Icons: from n/a through 2.2. 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.
References
Metrics cvssV3_1

{'score': 5.9, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:L'}


Mon, 31 Mar 2025 16:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Mon, 31 Mar 2025 13:00:00 +0000

Type Values Removed Values Added
Description Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS) vulnerability in Vasilis Triantafyllou Flag Icons allows Stored XSS. This issue affects Flag Icons: from n/a through 2.2.
Title WordPress Flag Icons plugin <= 2.2 - Cross Site Scripting (XSS) vulnerability
Weaknesses CWE-80
References
Metrics cvssV3_1

{'score': 5.9, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:L'}


Subscriptions

Wordpress Wordpress
cve-icon MITRE

Status: PUBLISHED

Assigner: Patchstack

Published:

Updated: 2026-04-28T16:12:09.181Z

Reserved: 2025-03-31T10:05:51.138Z

Link: CVE-2025-31575

cve-icon Vulnrichment

Updated: 2025-03-31T15:21:09.592Z

cve-icon NVD

Status : Deferred

Published: 2025-03-31T13:15:50.930

Modified: 2026-04-23T15:27:59.700

Link: CVE-2025-31575

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-05-01T03:15:07Z

Weaknesses