CVE-2021-4227: ark-commenteditor (WordPress plugin) · Basic XSS
Affects ark-commenteditor (WordPress plugin)Source CVE Database V5
Not known to be exploited · CVSS 5.3 Medium.
Data as of 25 Oct 2026, 19:02 UTC
- EPSS
- 0.6% chance of exploitation in 30 days – higher than 48% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:NExploitation evidence
Disclosed: evidence found.
CVE published 16 Jan 2024
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-25.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| Unknown ark-commenteditor | Affected
| Fixed in– |
AI-suggested
1. Immediate mitigation involves disabling the Source editor feature in the ark-commenteditor plugin if feasible, to prevent unsanitized input. 2. Implement a Web Application Firewall (WAF) with custom rules to detect and block iFrame injection attempts in comment submissions. 3. Use Content Security Policy (CSP) headers to restrict the loading of external frames and scripts, limiting the impact of injected iFrames. 4. Regularly audit and sanitize all user-generated content on the site, employing server-side filtering libraries that properly encode or strip HTML tags. 5. Monitor plugin updates from the vendor or community for official patches and apply them promptly once available. 6. Educate site administrators and content moderators about the risks of accepting untrusted HTML content and encourage the use of safer comment input modes. 7. Conduct periodic security assessments of WordPress plugins and themes to identify and remediate similar vulnerabilities proactively.
Description
The ark-commenteditor WordPress plugin through 2.15.6 does not properly sanitise or encode the comments when in Source editor, allowing attackers to inject an iFrame in the page and thus load arbitrary content from any page to the comment section