Section Collection <= 2.0.14 - Authenticated (Contributor+) Stored Cross-Site Scripting via Testimonial Block Content

Medium 6.4 CWE-79Fixed in 2.0.15
ID
WPSEC-2026-3753
Plugin
Section Collection – Add Ready-made Sections to Design Modern Websites (section-collection)
Affected
from 1.0.2 before 2.0.15
Remediation
Update to 2.0.15 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 Low · Affected versions Low among sites WPSec scans, 2026-11-24
Attack surface
Section Collection on WPSec AttackSurface
Fix released
Published

Description

The Section Collection plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'content' value of the Testimonials Section block's testimonials attribute in all versions up to, and including, 2.0.14. This is due to insufficient output sanitization: the block's front-end script rewrites every '<a' sequence in the stored testimonial text by inserting class, target and rel attributes. It then renders the result as raw HTML. Text that WordPress's HTML filtering lets through can be rewritten into markup with event handler attributes. 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