# Tag Groups <= 3.0.0 - Authenticated (Contributor+) Stored Cross-Site Scripting via 'separator' Shortcode Attribute

- **ID:** WPSEC-2026-2787
- **Plugin:** PublishPress Tag Groups is the Advanced Way to Display Your Taxonomy Terms (`tag-groups`), https://wordpress.org/plugins/tag-groups/
- **Affected versions:** all versions before 3.0.1
- **Fixed in:** 3.0.1 (Update to 3.0.1 or later.)
- **Severity:** Medium 6.4 (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N)
- **Weakness:** CWE-79
- **Usage among sites WPSec scans:** plugin Low, affected versions Low (as of 2026-11-10)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/tag-groups
- **Fix released:** 2026-11-09
- **Published:** 2026-11-10
- **URL:** https://wpsec.com/vuln/WPSEC-2026-2787/

## Description

The PublishPress Tag Groups is the Advanced Way to Display Your Taxonomy Terms plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'separator' attribute of the tag_groups_cloud, tag_groups_accordion and tag_groups_alphabet_tabs shortcodes in all versions up to, and including, 3.0.0, due to the attribute being HTML-entity-decoded and then output without escaping. 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.

## References

- https://wpsec.com/vuln/WPSEC-2026-2787/
- https://plugins.svn.wordpress.org/tag-groups/tags/3.0.1/
- https://wordpress.org/plugins/tag-groups/

Source: WPSec, https://wpsec.com/vuln/WPSEC-2026-2787/

License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Free to use, share and adapt, also commercially, if you credit WPSec and link to this advisory.
