CVE-2026-9626
Received Received - Intake

Stored XSS in JSON API User WordPress Plugin

Vulnerability report for CVE-2026-9626, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-07-03

Last updated on: 2026-07-03

Assigner: Wordfence

Description

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-07-03
Last Modified
2026-07-03
Generated
2026-07-03
AI Q&A
2026-07-03
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
wordfence json_api_user_plugin to 4.1.0 (inc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-79 The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

The JSON API User plugin for WordPress has a Stored Cross-Site Scripting (XSS) vulnerability in the 'content' parameter of the post_comment API endpoint in versions up to and including 4.1.0.

This vulnerability arises because the post_comment() function does not properly sanitize input before passing the attacker-controlled comment_content value to wp_insert_comment().

Additionally, the vulnerability allows an attacker with subscriber-level access or higher to set comment_approved=1, which self-approves the comment and bypasses moderation.

As a result, an authenticated attacker can inject arbitrary web scripts into pages, which will execute whenever any user accesses the injected page.

Impact Analysis

This vulnerability can allow an attacker with subscriber-level access to inject malicious scripts into WordPress pages.

These scripts execute in the browsers of users who visit the affected pages, potentially leading to theft of user credentials, session hijacking, or other malicious actions.

Because the attacker can bypass comment moderation by self-approving comments, the malicious content can persist and affect multiple users.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-9626. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart