Skip to content
Threat Feed
high advisory

Orphans plugin for WordPress Stored Cross-Site Scripting (CVE-2026-124216)

The Orphans plugin for WordPress is vulnerable to Stored Cross-Site Scripting (XSS) in versions 3.4.5 and below, allowing unauthenticated attackers to execute arbitrary scripts via the comment parameter by leveraging the comment_previously_approved moderation bypass.

CVE search metadata

CVE search record: CVE-2026-124216. Severity: high. CVSS: 7.2. KEV: no. Product: Orphans. Brief: Orphans plugin for WordPress Stored Cross-Site Scripting (CVE-2026-124216). Brief link: https://feed.craftedsignal.io/briefs/2026-11-orphans-xss-cve-2026-124216/

Triage facts

Revision 1
Applicability
Orphans
Evidence
Unknown
Severity
High
Action
Elevated
Sources
2 public sources
Freshness
Revision 1Nov 21, 13:21 UTC
Vulnerabilities
1 CVE
Source quality
A1Very likely

Overview

The Orphans plugin for WordPress contains a Stored Cross-Site Scripting (XSS) vulnerability in versions 3.4.5 and earlier. The issue arises from insufficient input sanitization and output escaping in the 'comment' parameter. This flaw allows an unauthenticated attacker to inject malicious web scripts that execute in the browser of any user who views the affected page.

Attack Chain

  1. The attacker submits a benign comment using a specific name and email address that is approved by an administrator.
  2. WordPress marks the identity associated with that name and email as 'comment_previously_approved'.
  3. The attacker submits a second comment containing the XSS payload using the same identity.
  4. The 'comment_previously_approved' mechanism allows the malicious comment to auto-publish, bypassing further moderation.
  5. The payload is rendered in the browser of any user or administrator viewing the page, executing the attacker's script.

Impact

Successful exploitation results in the execution of arbitrary web scripts in the context of the victim's session. This could allow an attacker to hijack user sessions, steal cookies, or perform unauthorized actions on behalf of the victim.

Recommendation

  • Audit WordPress environments to identify the use of the Orphans plugin.
  • Monitor comment sections of sites using this plugin for suspicious activity or unexpected script injections until a security patch is provided by the vendor.
  • In the absence of a patch, restrict the ability to post comments for unauthenticated users or disable the 'comment_previously_approved' moderation setting to prevent auto-publishing of malicious payloads.

Threat Hunt

Identify comments containing HTML or script tags in the WordPress database or application logs.

T1059.007 medium medium confidence hunt now

Data: webserver logs, database comment table

Mitigations

Disable 'comment_previously_approved' feature in WordPress moderation settings for sites utilizing the Orphans plugin.

immediate