CVE-2026-124216
The Orphans plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'comment' parameter in all versions up to, and including, 3.4.5 due to in…
Impact
The Orphans plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'comment' parameter in all versions up to, and including, 3.4.5 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. Exploitation requires a two-step comment chain: a benign first comment must be approved under a given name and email so that WordPress's comment_previously_approved mechanism auto-publishes the attacker's payload comment without moderation.
An attacker can exploit this over the network, without logging in, without any action by a user. If it succeeds: low risk of data being read, low risk of data or systems being changed. The attack can reach beyond the vulnerable component itself.
Affected products · Iworks
| Product | Affected versions |
|---|---|
| Orphans | through 3.4.5 Version 0 ≤3.4.5 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://www.wordfence.com/threat-intel/vulnerabilities/id/d313cb15-59f4-4483-ba4b-d2237fa33248?source=cve
- https://plugins.trac.wordpress.org/browser/sierotki/tags/3.4.5/includes/iworks/class-iworks-orphan.php#L484
- https://plugins.trac.wordpress.org/browser/sierotki/tags/3.4.5/includes/iworks/class-iworks-orphan.php#L502
- https://plugins.trac.wordpress.org/browser/sierotki/tags/3.4.5/includes/iworks/class-iworks-orphan.php#L572
- https://plugins.trac.wordpress.org/browser/sierotki/tags/3.4.5/includes/iworks/class-iworks-orphan.php#L266
- https://plugins.trac.wordpress.org/browser/sierotki/tags/3.4.5/wp-comments-post.php%20%28core%29
- https://github.com/iworks/sierotki/releases/tag/3.4.6
- https://github.com/advisories/GHSA-f376-rg8x-m94j
- https://nvd.nist.gov/vuln/detail/CVE-2026-124216