Description (CNA)
The Investi plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'investi-announcements-accordion' shortcode's 'maximum-num-years' attribute in all versions up to, and including, 1.0.26. This is due to insufficient input sanitization and output escaping on user-supplied shortcode attributes. Specifically, the 'maximum-num-years' attribute value is read directly from shortcode attributes and interpolated into a double-quoted HTML attribute without any escaping (no esc_attr(), htmlspecialchars(), or similar). This makes it possible for authenticated attackers, with Contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| investi / Investi | affected 0 through 1.0.26 |
CWE
CWE-79
References
- https://www.wordfence.com/threat-intel/vulnerabilities/id/51aa0d86-e623-46d1-9d37-a36b4825c071?source=cve
- https://plugins.trac.wordpress.org/browser/investi/trunk/includes/widgets.php#L14
- https://plugins.trac.wordpress.org/browser/investi/tags/1.0.22/includes/widgets.php#L14
- https://plugins.trac.wordpress.org/browser/investi/trunk/includes/widgets.php#L7
- https://plugins.trac.wordpress.org/browser/investi/tags/1.0.22/includes/widgets.php#L7
- https://plugins.trac.wordpress.org/changeset/3486937/
ADP enrichment
No English description supplied.
No references supplied.