Security readout for executives and security teams
Plain-English summary
This is a stored cross-site scripting issue in the WordPress Flag Icons plugin through version 2.2. A highly privileged user could save unsafe script-related HTML that later runs when another user views the affected content. Business risk is moderate because exploitation requires privileged access and user interaction, but impact can cross trust boundaries.
Executive priority
Treat as a moderate-priority WordPress hygiene item. Address during the next patch cycle, faster for public sites with many administrators, weak account controls, or sensitive admin sessions.
Technical view
CVE-2025-31575 is CWE-80 improper neutralization of script-related HTML tags in Flag Icons language-icons-flags-switcher. CVSS 3.1 is 5.9 with network attack vector, low complexity, high privileges required, user interaction required, changed scope, and low confidentiality, integrity, and availability impact.
Likely exposure
Exposure is limited to WordPress sites running Vasilis Triantafyllou Flag Icons, package language-icons-flags-switcher, through version 2.2. The bundle does not identify other affected products or a confirmed fixed version.
Exploitation context
The source bundle does not show CISA KEV listing or cited active exploitation. The CVSS vector indicates an attacker needs high privileges and a victim interaction path, consistent with lower likelihood but meaningful stored XSS impact.
Researcher notes
Evidence supports affected plugin and version range through 2.2, CWE-80, and CVSS 5.9. The bundle does not provide exploit details, fixed-version details, or confirmed exploitation, so remediation should track vendor and Patchstack updates.
Mitigation direction
- Inventory WordPress sites for the Flag Icons language-icons-flags-switcher plugin.
- Check installed versions and prioritize any instance at version 2.2 or earlier.
- Consult vendor, WordPress, or Patchstack guidance for an official fixed release.
- Disable or remove the plugin where no fixed version is available or business need is low.
- Restrict high-privilege WordPress accounts to trusted users with MFA enabled.
Validation and detection
- Confirm plugin presence and version across production, staging, and managed WordPress assets.
- Review plugin-managed content or settings for unexpected script-related HTML.
- Check WordPress admin audit logs for recent high-privilege changes to plugin settings.
- Use safe authenticated security testing in staging, without production payload testing.
Public sources used
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
CWE-80: User-session and phishing behavior lookup
Client-side and session-facing weaknesses should be reviewed alongside initial-access and user-execution behaviors. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
Open ATT&CK lookupCVE-2025-31575 mapping review
Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.
Open ATT&CK lookup- Severity
- Medium
- CVSS
- 5.9 (3.1)
- Known Exploited
- No
- Published
Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:L
CNA and ADP enrichment extracted from CVE v5
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
CVSS vector scores
1 official scoreWe collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.
CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:L1.73.7Primary CVE scoreVulnerability scoring details
Base CVSS 3.1 score
5.9MediumVector: CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:L
Source materials
Products and packages named in the record
CWE details
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS)
Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS) represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.
