BNE Testimonials permits Contributor-level stored JavaScript injection
BNE Testimonials before 2.0.8.2 fails to escape a shortcode attribute before placing it in an inline JavaScript context. A logged-in Contributor can save affected shortcode content containing JavaScript that executes in any viewer's browser. The changelog identifies shortcode JavaScript numeric attributes but does not name the attribute, rendering function, storage endpoint or sink. Version 2.0.8.2 adds output escaping.
- Component
- BNE Testimonials
- Plugin slug
bne-testimonials- Affected
- < 2.0.8.2
- Safe version
2.0.8.2- Published
- Aug 07, 2026
This CVE was published Aug 07, 2026 and is one of 3 known issues for this plugin.
Update, patch or deactivate.
Update BNE Testimonials to 2.0.8.2 or later. Restrict Contributor access until updated and review posts containing BNE Testimonials shortcodes.
A safe version is available, so updating to that version or later is the preferred remediation. If an immediate update is not practical, consider a targeted application patch or temporarily restricting the affected functionality.
Deactivate only when warranted by your risk profile, or when advised by your hosting provider in the limited circumstances where the vulnerability cannot otherwise be mitigated. If you’re unsure which action is appropriate, contact Fused or your hosting provider for guidance.
Technical description
The BNE Testimonials WordPress plugin before 2.0.8.2 does not properly escape a shortcode attribute for a JavaScript context before echoing it into an inline script, allowing users with the contributor role and above to inject arbitrary JavaScript that executes in the browser of anyone viewing the affected content.
CVE / CNA vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N