Home

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.

PUBLISHED Reserved 2026-02-27 | Published 2026-04-22 | Updated 2026-04-22 | Assigner Wordfence




MEDIUM: 4.4CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:L/I:L/A:N

Problem types

CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Product status

Default status
unaffected

Any version
affected

Timeline

2026-04-21:Disclosed

Credits

Muhammad Nur Ibnu Hubab finder

References

www.wordfence.com/...-bf54-49a8-9b0e-fae3fb4e1df9?source=cve

plugins.trac.wordpress.org/...ilter/trunk/views/settings.php

plugins.trac.wordpress.org/...er/tags/2.2/views/settings.php

plugins.trac.wordpress.org/...rt-comment-filter-settings.php

plugins.trac.wordpress.org/...rt-comment-filter-settings.php

plugins.trac.wordpress.org/...rt-comment-filter-settings.php

plugins.trac.wordpress.org/...rt-comment-filter-settings.php

plugins.trac.wordpress.org/...rt-comment-filter-settings.php

plugins.trac.wordpress.org/...rt-comment-filter-settings.php

cve.org (CVE-2026-3362)

nvd.nist.gov (CVE-2026-3362)

Download JSON