CVE-2026-3362 Short Comment Filter <= 2.2 - Authenticated (Administrator+) Stored Cross-Site Scripting via 'Minimum Count' Setting
Administrators can inject arbitrary scripts via the Minimum Count setting, leading to stored XSS execution on the settings page.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2026-3362?
CVE-2026-3362 is a medium-severity cross-site scripting vulnerability in itsananderson Short Comment Filter, published on 22 Apr 2026. An attacker needs administrator access to exploit it, with no action from the victim.
Official description
The Short Comment Filter plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'Minimum Count' settings field in all versions up to and including 2.2. This is due to insufficient input sanitization (no sanitize callback on register_setting) and missing output escaping (no esc_attr() on the echoed value in the input's value attribute). The option value is stored via update_option() and rendered unescaped in an HTML attribute context. This makes it possible for authenticated attackers, with administrator-level access and above, to inject arbitrary web scripts in the settings page that will execute whenever a user accesses that page. This is particularly impactful in WordPress multisite installations or when DISALLOW_UNFILTERED_HTML is set, where administrators are not granted the unfiltered_html capability.
Weakness: CWE-79
Which versions are affected by CVE-2026-3362?
How do I fix CVE-2026-3362?
No fix has been published for CVE-2026-3362 yet. Limit exposure of the affected software until one is available.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2026-3362 being exploited?
There is no known exploitation of CVE-2026-3362 in the wild and no public exploit code.
Sources
Also known as GHSA-39pg-69jq-6vx9.