Skip to main content
Vulnerability Database/CVE-2025-12644

CVE-2025-12644: Nonaki WordPress Plugin XSS Vulnerability

CVE-2025-12644 is a stored cross-site scripting flaw in the Nonaki WordPress plugin affecting authenticated contributors. Attackers can inject malicious scripts through shortcodes. This article covers technical details, affected versions, security impact, and mitigation strategies.

Published:

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2025-12644 Overview

CVE-2025-12644 is a Stored Cross-Site Scripting (XSS) vulnerability in the Nonaki – Drag and Drop Email Template builder and Newsletter plugin for WordPress. The flaw affects all versions up to and including 1.0.11. The vulnerability resides in the nonaki shortcode, which fails to sanitize input and escape output when rendering user-supplied custom field values. Authenticated users with contributor-level privileges or higher can inject arbitrary JavaScript that executes in the browser of any visitor viewing an affected page. The weakness is classified under CWE-79: Improper Neutralization of Input During Web Page Generation.

Critical Impact

Authenticated contributors can store malicious JavaScript that executes against site visitors and administrators, enabling session theft, forced actions, and potential account takeover.

Affected Products

  • Nonaki – Drag and Drop Email Template builder and Newsletter plugin for WordPress
  • All versions up to and including 1.0.11
  • WordPress sites allowing contributor-level or higher account registration

Discovery Timeline

  • 2025-11-11 - CVE-2025-12644 published to the National Vulnerability Database
  • 2026-06-17 - Last updated in NVD database

Technical Details for CVE-2025-12644

Vulnerability Analysis

The Nonaki plugin exposes a nonaki shortcode that renders content pulled from custom field values. The implementation in includes/shortcode.php and the helper routine in includes/helper.php concatenate those stored values directly into the output HTML. The plugin does not apply WordPress sanitization functions such as wp_kses_post() on input or escaping functions such as esc_html() and esc_attr() on output. As a result, any HTML or JavaScript stored by a contributor is rendered verbatim when the shortcode executes. See the Wordfence Vulnerability Analysis for additional context.

Root Cause

The root cause is insufficient input sanitization and missing output escaping on custom field values retrieved by the shortcode handler. The vulnerable code paths are documented in the WordPress Plugin Shortcode Code and WordPress Plugin Helper Code. Because contributors can edit custom field metadata through standard WordPress editing flows, the plugin trusts that content without applying context-aware escaping before echoing it into the DOM.

Attack Vector

An attacker authenticates to WordPress with a contributor or higher role. The attacker creates or edits a post containing the vulnerable shortcode and places a JavaScript payload inside a custom field consumed by the shortcode. When an editor, administrator, or site visitor loads a page that renders the shortcode, the stored script executes in their browser session. Exploitation requires no user interaction beyond viewing the page and no additional privileges beyond posting content.

No verified public exploit code is available. The vulnerability mechanism is described in prose based on the vendor advisory.

Detection Methods for CVE-2025-12644

Indicators of Compromise

  • Post or custom field metadata containing <script> tags, inline event handlers such as onerror= or onclick=, or javascript: URIs
  • Unexpected outbound requests from administrator browser sessions to attacker-controlled domains following page views
  • Newly created administrator accounts or modified user roles shortly after a contributor publishes content
  • Shortcode usage of [nonaki] on posts authored by low-privilege accounts

Detection Strategies

  • Query the wp_postmeta table for custom field values associated with the Nonaki plugin that contain HTML or script fragments
  • Review web server logs for requests to pages rendering the nonaki shortcode and correlate with Content Security Policy (CSP) violation reports
  • Audit the WordPress user activity log for contributors creating or editing posts that embed the vulnerable shortcode

Monitoring Recommendations

  • Enable WordPress audit logging to track role assignments, post edits, and plugin configuration changes
  • Deploy a web application firewall (WAF) rule to flag script-like payloads submitted to post or metadata endpoints
  • Monitor browser telemetry for script execution originating from unexpected inline sources on authenticated admin pages

How to Mitigate CVE-2025-12644

Immediate Actions Required

  • Deactivate the Nonaki – Drag and Drop Email Template builder and Newsletter plugin until a patched release is installed
  • Audit all existing posts and custom field metadata for injected HTML or JavaScript and purge any malicious entries
  • Review contributor and author accounts, revoking access for any unrecognized users

Patch Information

At the time of publication, no fixed version beyond 1.0.11 is referenced in the available CVE data. Monitor the plugin repository and the Wordfence advisory for an updated release that properly escapes shortcode output.

Workarounds

  • Restrict contributor-level and higher registration to trusted users only and disable open user registration
  • Enforce a strict Content Security Policy (CSP) that disallows inline script execution on front-end pages
  • Remove usage of the [nonaki] shortcode from published content until the plugin is updated
  • Apply a WAF rule to block requests containing script payloads targeting the post edit and metadata endpoints

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.