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 up to version 4.1.0 is vulnerable to a stored Cross-Site Scripting (XSS) attack via the 'content' parameter of the post_comment API endpoint. This vulnerability arises from insufficient input sanitization in the post_comment() function, allowing an attacker with subscriber-level access or higher to inject malicious scripts that execute when users view the affected pages. The vulnerability also allows self-approval of malicious comments, bypassing moderation controls.
AI Analysis
Technical Summary
CVE-2026-9626 describes a stored Cross-Site Scripting vulnerability in the JSON API User WordPress plugin (versions up to 4.1.0). The issue is due to 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 self-approve malicious comments and bypass moderation. This results in arbitrary script execution in the context of users visiting the injected pages.
Potential Impact
An authenticated attacker with subscriber-level access or higher can inject persistent malicious scripts into comments that execute in the browsers of users viewing those comments. This can lead to theft of user credentials, session hijacking, or other client-side attacks. The vulnerability also bypasses comment moderation, increasing the risk of widespread exploitation.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, restrict subscriber-level access where possible and monitor for suspicious comments. Implement manual moderation to detect and remove malicious comments. Avoid relying solely on the plugin's comment approval process.
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 up to version 4.1.0 is vulnerable to a stored Cross-Site Scripting (XSS) attack via the 'content' parameter of the post_comment API endpoint. This vulnerability arises from insufficient input sanitization in the post_comment() function, allowing an attacker with subscriber-level access or higher to inject malicious scripts that execute when users view the affected pages. The vulnerability also allows self-approval of malicious comments, bypassing moderation controls.
CVSS v3.1
Score 6.4medium
Affected software
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-9626 describes a stored Cross-Site Scripting vulnerability in the JSON API User WordPress plugin (versions up to 4.1.0). The issue is due to 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 self-approve malicious comments and bypass moderation. This results in arbitrary script execution in the context of users visiting the injected pages.
Potential Impact
An authenticated attacker with subscriber-level access or higher can inject persistent malicious scripts into comments that execute in the browsers of users viewing those comments. This can lead to theft of user credentials, session hijacking, or other client-side attacks. The vulnerability also bypasses comment moderation, increasing the risk of widespread exploitation.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, restrict subscriber-level access where possible and monitor for suspicious comments. Implement manual moderation to detect and remove malicious comments. Avoid relying solely on the plugin's comment approval process.
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/03/2026, 05:51:27 UTC
Last updated: 07/03/2026, 06:38:10 UTC
Views: 6
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.