Description
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.
References6
- plugins.trac.wordpress.org/browser/investi/tags/1.0.22/includes…
- plugins.trac.wordpress.org/browser/investi/tags/1.0.22/includes…
- plugins.trac.wordpress.org/browser/investi/trunk/includes/widge…
- plugins.trac.wordpress.org/browser/investi/trunk/includes/widge…
- plugins.trac.wordpress.org/changeset/3486937/
- www.wordfence.com/threat-intel/vulnerabilities/id/51aa0d86-e623…
Metrics
- CVSS 3.1
-
6.4
MEDIUM
Score source: CNA
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N - EPSS — exploit probability
- 0% percentile: 19 · as of 12 November 2026
- CWE
- CWE-79
Could this be exploited in your environment?
A patch closes the known hole. A penetration test shows what an attacker can still reach — with proof.