Admin Columns <= 7.1.7 - Unauthenticated Stored Cross-Site Scripting via 'User-Agent' Header via comment_agent
- State
- Published
- Severity
- 7.2 High
- Published
- Nov 21, 2026
- Updated
- Nov 23, 2026
- Reserved
- Nov 2, 2026
Description
The Admin Columns plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'HTTP_USER_AGENT' parameter in all versions up to, and including, 7.1.7 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. The kses sanitization pass in classes/Sanitize/Kses.php uses wp_kses_allowed_html('post') augmented with iframe[src] and the data: protocol; because wp_kses_attr_check accepts any data-* attribute on any allowed tag without inspecting its value, a payload embedded inside a data-ac-tip attribute survives intact and is subsequently assigned to innerHTML by assets/js/table.js, bypassing the apparent mitigation entirely.
| Product | Versions |
|---|---|
| Admin Columns codepress | 7.1.7 and earlier Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 3.1 | 7.2 High | Wordfence |
Weaknesses
- CWE-79 Improper Neutralization of Input During Web Page Generation
References
- https://www.wordfence.com/threat-intel/vulnerabilities/id/8e6a4022-20e8-4102-941b-ecdf0e45671f?source=cve
- https://plugins.trac.wordpress.org/browser/codepress-admin-columns/tags/7.1.7/classes/TableScreen/ManageValue/Comment.php#L43
- https://plugins.trac.wordpress.org/browser/codepress-admin-columns/tags/7.1.7/classes/Formatter/ColumnFilter.php#L37
- https://plugins.trac.wordpress.org/browser/codepress-admin-columns/tags/7.1.7/classes/Sanitize/Kses.php#L11
- https://plugins.trac.wordpress.org/browser/codepress-admin-columns/tags/7.1.7/classes/Formatter/Comment/Property.php#L23
- https://plugins.trac.wordpress.org/browser/codepress-admin-columns/tags/7.1.7/classes/ColumnFactory/Comment/AgentFactory.php#L27
- https://plugins.trac.wordpress.org/browser/codepress-admin-columns/tags/7.1.7/assets/js/table.js
- https://plugins.trac.wordpress.org/changeset?reponame=&old=3768466%40codepress-admin-columns&new=3768466%40codepress-admin-columns
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.