CVE-2025-12823: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in sscovil CSV to SortTable
The CSV to SortTable plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'csv' shortcode in all versions up to, and including, 4.2 due to insufficient input sanitization and output escaping on user supplied attributes. This makes it possible for authenticated attackers, with Contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
AI Analysis
Technical Summary
CVE-2025-12823 identifies a stored Cross-Site Scripting (XSS) vulnerability in the CSV to SortTable plugin for WordPress, which is widely used to convert CSV data into sortable HTML tables. The vulnerability arises from improper neutralization of user input during web page generation, specifically via the 'csv' shortcode attribute. All versions up to and including 4.2 are affected. The root cause is insufficient input sanitization and output escaping, allowing authenticated users with Contributor-level access or higher to inject arbitrary JavaScript code into pages. When other users access these pages, the malicious scripts execute in their browsers, potentially enabling session hijacking, privilege escalation, or unauthorized actions within the context of the affected site. The vulnerability has a CVSS 3.1 base score of 6.4, reflecting a medium severity with network attack vector, low attack complexity, and requiring privileges but no user interaction. The scope is changed (S:C) because the vulnerability can affect other users beyond the attacker. No public exploits are currently known, but the risk remains significant due to the commonality of Contributor roles in WordPress environments. The plugin's widespread use in European organizations' websites, especially those relying on WordPress for content management, increases the threat surface. The vulnerability underscores the importance of secure coding practices around input validation and output encoding in web plugins.
Potential Impact
For European organizations, this vulnerability can lead to unauthorized script execution within their WordPress sites, compromising the confidentiality and integrity of user sessions and data. Attackers with Contributor-level access can leverage this flaw to inject persistent malicious scripts, potentially stealing cookies, performing actions on behalf of other users, or defacing websites. This can damage organizational reputation, lead to data breaches, and disrupt business operations. Given the extensive use of WordPress in Europe, especially among SMEs and public sector entities, the impact could be widespread. The vulnerability does not directly affect availability but can indirectly cause service disruptions if exploited for defacement or administrative abuse. The requirement for authenticated access limits the attack surface but does not eliminate risk, as Contributor roles are commonly assigned for content creation. The cross-site scripting nature also raises concerns about compliance with GDPR, as personal data could be exposed through session hijacking or unauthorized access.
Mitigation Recommendations
European organizations should immediately audit their WordPress installations for the presence of the CSV to SortTable plugin and verify the version in use. Until an official patch is released, restrict Contributor-level user privileges by limiting who can create or edit posts using the 'csv' shortcode. Implement strict role-based access controls to minimize the number of users with Contributor or higher roles. Employ Web Application Firewalls (WAFs) with custom rules to detect and block suspicious shortcode usage or script injection attempts. Regularly monitor website content for unauthorized script insertions or anomalies in pages using the plugin. Educate content creators about the risks of injecting untrusted data into shortcodes. Once a patch becomes available, prioritize its deployment in all affected environments. Additionally, consider disabling or replacing the plugin with alternatives that follow secure coding practices. Conduct periodic security assessments and vulnerability scans focusing on WordPress plugins to detect similar issues proactively.
Affected Countries
Germany, United Kingdom, France, Netherlands, Italy, Spain, Poland
CVE-2025-12823: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in sscovil CSV to SortTable
Description
The CSV to SortTable plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'csv' shortcode in all versions up to, and including, 4.2 due to insufficient input sanitization and output escaping on user supplied attributes. This makes it possible for authenticated attackers, with Contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
AI-Powered Analysis
Technical Analysis
CVE-2025-12823 identifies a stored Cross-Site Scripting (XSS) vulnerability in the CSV to SortTable plugin for WordPress, which is widely used to convert CSV data into sortable HTML tables. The vulnerability arises from improper neutralization of user input during web page generation, specifically via the 'csv' shortcode attribute. All versions up to and including 4.2 are affected. The root cause is insufficient input sanitization and output escaping, allowing authenticated users with Contributor-level access or higher to inject arbitrary JavaScript code into pages. When other users access these pages, the malicious scripts execute in their browsers, potentially enabling session hijacking, privilege escalation, or unauthorized actions within the context of the affected site. The vulnerability has a CVSS 3.1 base score of 6.4, reflecting a medium severity with network attack vector, low attack complexity, and requiring privileges but no user interaction. The scope is changed (S:C) because the vulnerability can affect other users beyond the attacker. No public exploits are currently known, but the risk remains significant due to the commonality of Contributor roles in WordPress environments. The plugin's widespread use in European organizations' websites, especially those relying on WordPress for content management, increases the threat surface. The vulnerability underscores the importance of secure coding practices around input validation and output encoding in web plugins.
Potential Impact
For European organizations, this vulnerability can lead to unauthorized script execution within their WordPress sites, compromising the confidentiality and integrity of user sessions and data. Attackers with Contributor-level access can leverage this flaw to inject persistent malicious scripts, potentially stealing cookies, performing actions on behalf of other users, or defacing websites. This can damage organizational reputation, lead to data breaches, and disrupt business operations. Given the extensive use of WordPress in Europe, especially among SMEs and public sector entities, the impact could be widespread. The vulnerability does not directly affect availability but can indirectly cause service disruptions if exploited for defacement or administrative abuse. The requirement for authenticated access limits the attack surface but does not eliminate risk, as Contributor roles are commonly assigned for content creation. The cross-site scripting nature also raises concerns about compliance with GDPR, as personal data could be exposed through session hijacking or unauthorized access.
Mitigation Recommendations
European organizations should immediately audit their WordPress installations for the presence of the CSV to SortTable plugin and verify the version in use. Until an official patch is released, restrict Contributor-level user privileges by limiting who can create or edit posts using the 'csv' shortcode. Implement strict role-based access controls to minimize the number of users with Contributor or higher roles. Employ Web Application Firewalls (WAFs) with custom rules to detect and block suspicious shortcode usage or script injection attempts. Regularly monitor website content for unauthorized script insertions or anomalies in pages using the plugin. Educate content creators about the risks of injecting untrusted data into shortcodes. Once a patch becomes available, prioritize its deployment in all affected environments. Additionally, consider disabling or replacing the plugin with alternatives that follow secure coding practices. Conduct periodic security assessments and vulnerability scans focusing on WordPress plugins to detect similar issues proactively.
Affected Countries
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- Wordfence
- Date Reserved
- 2025-11-06T18:58:16.008Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 691c305a35a0ab0a56271065
Added to database: 11/18/2025, 8:37:46 AM
Last enriched: 11/25/2025, 9:51:33 AM
Last updated: 1/8/2026, 12:42:31 PM
Views: 26
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Related Threats
CVE-2025-62877: CWE-1188: Initialization of a Resource with an Insecure Default in SUSE harvester
CriticalCVE-2024-1574: CWE-470 Use of Externally-Controlled Input to Select Classes or Code ('Unsafe Reflection') in Mitsubishi Electric Iconics Digital Solutions GENESIS64
MediumCVE-2024-1573: CWE-306 Missing Authentication for Critical Function in Mitsubishi Electric Iconics Digital Solutions GENESIS64
MediumThe State of Trusted Open Source
MediumCVE-2024-1182: CWE-427 Uncontrolled Search Path Element in Mitsubishi Electric Iconics Digital Solutions GENESIS64
HighActions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console in Console -> Billing for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.