CVE-2024-4705: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in j0hnsmith Testimonials Widget
The Testimonials Widget plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's testimonials shortcode in all versions up to, and including, 4.0.4 due to insufficient input sanitization and output escaping on user supplied 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.
AI Analysis
Technical Summary
The Testimonials Widget plugin for WordPress suffers from a stored cross-site scripting vulnerability (CWE-79) due to improper neutralization of input during web page generation. Specifically, the plugin fails to adequately sanitize and escape user-supplied attributes in its testimonials shortcode, allowing authenticated users with contributor or higher privileges to inject arbitrary JavaScript code. This code executes in the context of any user viewing the injected page, potentially leading to session hijacking or other client-side attacks. The vulnerability affects all plugin versions up to 4.0.4. The CVSS 3.1 base score is 6.4, reflecting network attack vector, low attack complexity, privileges required at the contributor level, no user interaction, and partial impact on confidentiality and integrity but no impact on availability. No patch or remediation details are currently provided by the vendor.
Potential Impact
An attacker with contributor-level or higher access can inject persistent malicious scripts into pages using the testimonials shortcode. These scripts execute in the browsers of users who visit the affected pages, potentially compromising user sessions or data confidentiality and integrity. The vulnerability does not affect availability. There are no known exploits in the wild at this time.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, limit contributor-level access to trusted users only and consider disabling or removing the Testimonials Widget plugin if possible to mitigate risk.
CVE-2024-4705: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in j0hnsmith Testimonials Widget
Description
The Testimonials Widget plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's testimonials shortcode in all versions up to, and including, 4.0.4 due to insufficient input sanitization and output escaping on user supplied 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.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The Testimonials Widget plugin for WordPress suffers from a stored cross-site scripting vulnerability (CWE-79) due to improper neutralization of input during web page generation. Specifically, the plugin fails to adequately sanitize and escape user-supplied attributes in its testimonials shortcode, allowing authenticated users with contributor or higher privileges to inject arbitrary JavaScript code. This code executes in the context of any user viewing the injected page, potentially leading to session hijacking or other client-side attacks. The vulnerability affects all plugin versions up to 4.0.4. The CVSS 3.1 base score is 6.4, reflecting network attack vector, low attack complexity, privileges required at the contributor level, no user interaction, and partial impact on confidentiality and integrity but no impact on availability. No patch or remediation details are currently provided by the vendor.
Potential Impact
An attacker with contributor-level or higher access can inject persistent malicious scripts into pages using the testimonials shortcode. These scripts execute in the browsers of users who visit the affected pages, potentially compromising user sessions or data confidentiality and integrity. The vulnerability does not affect availability. There are no known exploits in the wild at this time.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, limit contributor-level access to trusted users only and consider disabling or removing the Testimonials Widget plugin if possible to mitigate risk.
Technical Details
- Data Version
- 5.1
- Assigner Short Name
- Wordfence
- Date Reserved
- 2024-05-09T19:18:53.890Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 699f6b94b7ef31ef0b556e06
Added to database: 2/25/2026, 9:37:24 PM
Last enriched: 4/9/2026, 7:49:59 AM
Last updated: 4/12/2026, 5:09:31 AM
Views: 9
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.