CVE-2025-31575 in Script products
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.
Affects 0 products from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, low complexity, high privileges required, requires user interaction, can impact systems beyond the vulnerable component.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Script | — | — |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2025-31575 |
|---|---|
| BreachSpider ID | BS-2025-GLOBAL-253091-M |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:L |
| Published | 2025-03-31 |
| Last modified | 2026-04-23 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-80: CWE-80
Related attack patterns (CAPEC)
CAPEC-18 XSS Targeting Non-Script Elements via CWE-80
CAPEC-32 XSS Through HTTP Query Strings via CWE-80
CAPEC-86 XSS Through HTTP Headers via CWE-80
CAPEC-193 PHP Remote File Inclusion via CWE-80
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
A Stored Cross-Site Scripting (XSS) vulnerability exists in the Flag Icons: language-icons-flags-switcher plugin up to version 2.2, due to improper neutralization of script-related HTML tags in a web page.
An attacker can inject malicious scripts into the web application through user input fields that are not properly sanitized. These scripts can then be stored and executed in the browser of other users who view the affected content.
Questions
What is CVE-2025-31575?
A Stored Cross-Site Scripting (XSS) vulnerability exists in the Flag Icons: language-icons-flags-switcher plugin up to version 2.2, due to improper neutralization of script-related HTML tags in a web page.
What is the CVSS score for CVE-2025-31575?
CVE-2025-31575 has CVSS 5.9 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:L. EPSS: 0.4%.
Is CVE-2025-31575 actively exploited?
No confirmed active exploitation of CVE-2025-31575 as of 2026-05-30.
How do I remediate CVE-2025-31575?
Priority: MEDIUM.
What systems are affected by CVE-2025-31575?
CVE-2025-31575 affects Script.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Script","product":"EDS-518A","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-04-23.