mediumCVE-2026-9626

JSON API User <= 4.1.0 - Authenticated (Subscriber+) Stored Cross-Site Scripting via 'content' Parameter

The JSON API User plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'content' parameter of the post_comment API endpoint in versions up to, and including, 4.1.0 This is due to insufficient input sanitization in the post_comment() function, which passes the attacker-controlled comment_content value directly to wp_insert_comment() without applying any HTML sanitization, and additionally allows the caller to set comment_approved=1 to self-approve the comment and bypass moderation. This makes it possible for authenticated attackers, with subscriber-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.

ProductJSON API User
CVSS6.4
EPSS0.00228
UpdatedJuly 13, 2026

Quick answer

JSON API User should be reviewed and updated if it matches the affected versions. The recommended fix is to apply the vendor-supported patched version or the mitigation steps below, then retest the public website with Fixnx.

Who is affected

Affected versions

  • *-4.1.0

Fixed versions

  • 4.1.2

How to fix it

JSON API User is affected by CVE-2026-9626, a stored cross-site scripting issue in versions *-4.1.0. Prioritize sites where contributor, author, editor, vendor, or customer-submitted content can reach public pages. The recommended remediation is to update to version 4.1.2 or a newer vendor-supported patched release. If immediate patching is not possible, reduce exposure, restrict access to the vulnerable workflow, and monitor logs until the vendor-supported fix is in place.

  1. Inventory every WordPress site that uses JSON API User, including production, staging, multisite, customer, and managed environments.
  2. Confirm the installed plugin or theme version and compare it with versions *-4.1.0 from the linked advisory.
  3. Apply the remediation: update to version 4.1.2 or a newer vendor-supported patched release.
  4. If the update cannot be applied immediately, disable JSON API User, remove unused roles that can reach the vulnerable feature, and restrict the affected admin, REST, shortcode, upload, booking, ecommerce, or content workflow.
  5. Review application, web server, security plugin, WAF, authentication, and administrator activity logs for attempts related to CVE-2026-9626.
  6. Rotate administrator sessions, API keys, webhook secrets, database credentials, and integration tokens if logs or file/content review suggest compromise.
  7. Clear application, object, page, CDN, and browser caches after remediation so vulnerable assets, stored payloads, or stale responses are not served.

Scan now. Google sign-in is only needed to unlock fix guidance.

Verify the fix

  • Confirm JSON API User is no longer running versions *-4.1.0 and record the patched or mitigated version in the remediation ticket.
  • Verify unauthenticated, subscriber, contributor, author, editor, shop manager, booking, vendor, or custom-role users can no longer trigger the affected action.
  • Review logs before and after the fix for exploitation attempts, unexpected content changes, suspicious admin actions, or database/file access.
  • Rerun a Fixnx scan and any relevant plugin, WAF, or manual regression checks to confirm public exposure is reduced.
  • Document the advisory link, affected assets, remediation action, verification evidence, and any cleanup or credential rotation performed.

Related categories

Trusted references

FAQ

What is affected by CVE-2026-9626?

JSON API User versions listed as affected should be reviewed: *-4.1.0.

What should I fix first?

Start with internet-facing sites, admin panels, login flows, plugins, themes, modules, packages, and systems that process user-controlled input or sensitive data.

How do I confirm the fix worked?

Apply the patched version or mitigation, clear caches where relevant, retest the affected workflow, and run a new Fixnx scan to verify public website exposure signals.

How are Fixnx security risk categories chosen?

Fixnx keeps one canonical risk page and assigns only broad, relevant categories such as ecosystem, technology area, or vulnerability class.