Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2025-12371: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in shakhi Nari Accountant

0
Medium
VulnerabilityCVE-2025-12371cvecve-2025-12371cwe-79
Published: Tue Nov 04 2025 (11/04/2025, 04:27:21 UTC)
Source: CVE Database V5
Vendor/Project: shakhi
Product: Nari Accountant

Description

The Nari Accountant plugin for WordPress is vulnerable to Stored Cross-Site Scripting via account settings in all versions up to, and including, 1.0.12 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with editor-level permissions and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. This only affects multi-site installations and installations where unfiltered_html has been disabled.

AI-Powered Analysis

AILast updated: 11/04/2025, 04:58:56 UTC

Technical Analysis

CVE-2025-12371 is a stored Cross-Site Scripting (XSS) vulnerability identified in the shakhi Nari Accountant plugin for WordPress, affecting all versions up to and including 1.0.12. The vulnerability arises from improper neutralization of input during web page generation (CWE-79), specifically due to insufficient input sanitization and output escaping in the account settings functionality. This flaw allows authenticated attackers with editor-level permissions or higher to inject arbitrary JavaScript code into pages within multi-site WordPress installations or installations where the unfiltered_html capability is disabled. When other users access these injected pages, the malicious scripts execute in their browsers, potentially leading to session hijacking, privilege escalation, or unauthorized actions performed on behalf of the victim. The vulnerability requires the attacker to have elevated privileges (editor or above), no user interaction is needed for the payload to execute once injected, and it affects the confidentiality and integrity of affected users' sessions and data. The CVSS v3.1 score is 4.4 (medium severity), reflecting the network attack vector, high complexity, required privileges, no user interaction, and partial impact on confidentiality and integrity but no impact on availability. No public exploits or patches are currently available, emphasizing the need for proactive mitigation. The vulnerability is particularly relevant for multi-site WordPress deployments, which are common in larger organizations or managed hosting environments.

Potential Impact

For European organizations, the impact of CVE-2025-12371 can be significant in environments using the Nari Accountant plugin within multi-site WordPress installations. Exploitation could lead to unauthorized script execution in users' browsers, enabling session hijacking, theft of sensitive information, or unauthorized actions performed with the victim's privileges. This can compromise the confidentiality and integrity of organizational data and user accounts. Organizations relying on WordPress multi-site setups for managing multiple domains or subsidiaries are at higher risk. The medium CVSS score reflects that while the vulnerability requires authenticated access with elevated privileges, the potential for lateral movement or privilege escalation within the organization exists. Additionally, the lack of user interaction for script execution increases the risk of automated or widespread exploitation once an attacker gains editor-level access. This could affect financial, administrative, or accounting data managed through the plugin, impacting compliance with European data protection regulations such as GDPR if personal data is exposed or manipulated.

Mitigation Recommendations

1. Immediately restrict editor-level and higher permissions to trusted users only, minimizing the attack surface. 2. Monitor and audit user accounts with editor or higher privileges for suspicious activity or unauthorized changes. 3. Implement strict input validation and output escaping in the plugin code if custom modifications are possible, focusing on account settings inputs. 4. Consider disabling or limiting the use of the Nari Accountant plugin in multi-site WordPress environments until a patch is available. 5. Enable Web Application Firewall (WAF) rules that detect and block typical XSS payloads targeting WordPress plugins. 6. Educate administrators and users about the risks of privilege misuse and the importance of secure plugin management. 7. Regularly back up WordPress sites and configurations to enable quick recovery if exploitation occurs. 8. Monitor official vendor channels and security advisories for patches or updates addressing this vulnerability and apply them promptly once released.

Need more detailed analysis?Get Pro

Technical Details

Data Version
5.2
Assigner Short Name
Wordfence
Date Reserved
2025-10-27T20:32:16.245Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 690984dd2b77ca42b4883ec1

Added to database: 11/4/2025, 4:45:17 AM

Last enriched: 11/4/2025, 4:58:56 AM

Last updated: 11/4/2025, 7:08:04 PM

Views: 4

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need enhanced features?

Contact root@offseq.com for Pro access with improved analysis and higher rate limits.

Latest Threats