Strong Testimonials <= 3.3.20 - Authenticated (Contributor+) Stored Cross-Site Scripting via Average Rating Shortcode Template Tags

Medium 6.4 CWE-79Fixed in 3.3.21
ID
WPSEC-2026-3774
Plugin
Strong Testimonials (strong-testimonials)
Affected
from 2.31 before 3.3.21
Remediation
Update to 3.3.21 or later.
CVSS 3.1
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
Weakness
CWE-79
Usage
Plugin Medium · Affected versions Medium among sites WPSec scans, 2026-11-24
Attack surface
Strong Testimonials on WPSec AttackSurface
Fix released
Published

Description

The Strong Testimonials plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the content of the 'testimonial_average_rating' shortcode in all versions up to, and including, 3.3.20. This is due to the shortcode matching any {...} sequence as a template tag and replacing it, either with generated HTML ({title}, {stars}, {average}, {count}, {summary}) or with an empty string for unknown tags, everywhere in the content, including inside HTML attributes. Generated markup can break out of an attribute, and removed text can change the attribute quoting, so markup that passed kses gets new tags or event handlers. 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

Published by WPSec. Provided as is, without warranty. Corrections: contact us.

This advisory as JSON, OSV or Markdown · All advisories: JSON, OSV, RSS

License: CC BY 4.0