CVE-2026-9626: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in parorrey JSON API User
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.
AI Analysis
Technical Summary
CVE-2026-9626 is a stored cross-site scripting vulnerability in the JSON API User WordPress plugin (<=4.1.0). The issue stems from the post_comment() function passing attacker-controlled comment_content directly to wp_insert_comment() without HTML sanitization. Additionally, the API allows setting comment_approved=1, enabling attackers with subscriber-level privileges to bypass moderation and inject persistent malicious scripts that execute in users' browsers when viewing the compromised content.
Potential Impact
An attacker with subscriber-level or higher privileges can inject arbitrary web scripts that persist in comments and execute in the context of users visiting the affected pages. This can lead to information disclosure, session hijacking, or other client-side attacks. The vulnerability does not impact availability but compromises confidentiality and integrity of user interactions.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict subscriber-level user permissions where possible and monitor for suspicious comment activity. Avoid using the vulnerable plugin version or disable the post_comment API endpoint if feasible.
CVE-2026-9626: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in parorrey JSON API User
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 v3.1
Score 6.4medium
Affected software
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-9626 is a stored cross-site scripting vulnerability in the JSON API User WordPress plugin (<=4.1.0). The issue stems from the post_comment() function passing attacker-controlled comment_content directly to wp_insert_comment() without HTML sanitization. Additionally, the API allows setting comment_approved=1, enabling attackers with subscriber-level privileges to bypass moderation and inject persistent malicious scripts that execute in users' browsers when viewing the compromised content.
Potential Impact
An attacker with subscriber-level or higher privileges can inject arbitrary web scripts that persist in comments and execute in the context of users visiting the affected pages. This can lead to information disclosure, session hijacking, or other client-side attacks. The vulnerability does not impact availability but compromises confidentiality and integrity of user interactions.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict subscriber-level user permissions where possible and monitor for suspicious comment activity. Avoid using the vulnerable plugin version or disable the post_comment API endpoint if feasible.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- Wordfence
- Date Reserved
- 2026-05-26T17:20:23.199Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a474a7527e9c797190a8371
Added to database: 07/03/2026, 05:36:53 UTC
Last enriched: 07/10/2026, 08:47:16 UTC
Last updated: 08/16/2026, 01:22:31 UTC
Views: 95
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.