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

Machine-generated threat intelligence

AILast updated: 02/27/2026, 20:25:24 UTC

Technical Analysis

CVE-2025-12371 is a stored cross-site scripting (XSS) vulnerability identified in the Nari Accountant plugin for WordPress, affecting all versions up to and including 1.0.12. The root cause is improper neutralization of input during web page generation, specifically 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 that is stored persistently and executed whenever any user accesses the compromised page. The vulnerability is constrained to multi-site WordPress installations or single-site setups where the unfiltered_html capability is disabled, which restricts the ability to post unfiltered HTML content. The CVSS 3.1 base score is 4.4 (medium severity), reflecting network attack vector, high attack complexity, required privileges, no user interaction, and partial impact on confidentiality and integrity but no impact on availability. The scope is changed because the vulnerability affects resources beyond the attacker’s privileges, potentially impacting other users. No public exploits have been reported, and no patches are currently available, increasing the urgency for administrators to apply compensating controls. The vulnerability stems from the plugin’s failure to properly sanitize and escape user input before rendering it in web pages, a classic CWE-79 issue. This can lead to session hijacking, unauthorized actions, or redirection attacks against users who view the infected content.

Potential Impact

The primary impact of CVE-2025-12371 is the potential compromise of user accounts and site integrity through the execution of malicious scripts in the context of authenticated users. Attackers with editor-level access can leverage this vulnerability to inject persistent scripts that execute when other users visit affected pages, potentially stealing session cookies, performing actions on behalf of users, or defacing content. Although the vulnerability does not affect availability, it undermines confidentiality and integrity, which can lead to data breaches or unauthorized administrative actions. Organizations running multi-site WordPress environments with the Nari Accountant plugin are at particular risk, especially if they have multiple users with editor or higher privileges. The exploitation complexity is high due to required privileges, limiting exposure to insider threats or compromised accounts. However, the widespread use of WordPress and the plugin in certain regions could amplify the impact if exploited at scale. The lack of patches and known exploits means attackers may develop weaponized code, increasing future risk. Overall, this vulnerability threatens organizational reputation, user trust, and data security.

Mitigation Recommendations

To mitigate CVE-2025-12371, organizations should first identify if they are running the Nari Accountant plugin version 1.0.12 or earlier in multi-site WordPress installations or with unfiltered_html disabled. Until an official patch is released, administrators should restrict editor-level and higher permissions to trusted users only, minimizing the risk of malicious script injection. Implementing a Web Application Firewall (WAF) with custom rules to detect and block suspicious script payloads in account settings inputs can reduce exploitation chances. Additionally, enabling Content Security Policy (CSP) headers can help mitigate the impact of injected scripts by restricting script execution sources. Regularly auditing user roles and permissions to enforce the principle of least privilege is critical. Monitoring logs for unusual activity or script injections in account settings pages can provide early detection. Finally, maintain backups and prepare incident response plans to quickly remediate any exploitation attempts. Once a vendor patch is available, prioritize immediate update of the plugin.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to 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: 2/27/2026, 8:25:24 PM

Last updated: 3/24/2026, 7:46:51 PM

Views: 52

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 more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses