Woody code snippets <= 2.4.5 - Reflected Cross-Site Scripting

6.1
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
CVSS 6.1 (Medium)
Publicly Published June 2, 2022
Last Updated January 22, 2024
Researcher WPScanTeam - WPScan

Description

The Woody code snippets plugin for WordPress is vulnerable to Reflected Cross-Site Scripting due to the use of add_query_arg without appropriate escaping on the URL in versions up to, and including, 2.4.5. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that execute if they can successfully trick a user into performing an action such as clicking on a link.

Learn more about Cross-Site Scripting vulnerabilities and how to prevent them.

References

Share

Vulnerability Details for Woody Code Snippets – Insert PHP, CSS, JS, and Header/Footer Scripts

Software Type Plugin
Software Slug insert-php (view on wordpress.org)
Patched? Yes
Remediation Update to version 2.4.6, or a newer patched version
Affected Version
  • <= 2.4.5
Patched Version
  • 2.4.6

Recent vulnerabilities in Woody Code Snippets – Insert PHP, CSS, JS, and Header/Footer Scripts

# Title CVE ID CVSS Researchers Date
1 Woody Code Snippets – Insert PHP, CSS, JS, and Header/Footer Scripts <= 2.7.1 - Authenticated (Contributor+) Remote Code Execution CVE-2026-25366 8.8 Nguyen Ba Khanh March 23, 2026
2 Woody code snippets – Insert Header Footer Code, AdSense Ads <= 2.5.0 -Authenticated (Contributor+) Remote Code Execution CVE-2024-3105 9.9 Webbernaut June 14, 2024
3 Woody code snippets – Insert Header Footer Code, AdSense Ads <= 2.5.0 - Authenticated (Admin+) Stored Cross-Site Scripting CVE-2024-35751 4.4 SavPhill (Savphill) June 6, 2024
4 Woody code snippets <= 2.3.9 - Cross-Site Request Forgery Bypass CVE-2020-36759 4.3 Jerome Bruandet September 16, 2020
5 Woody Ad Snippets <= 2.2.8 - Authenticated Cross-Site Scripting CVE-2019-16289 6.4 GeneralEG September 13, 2019
6 Woody Ad Snippets <= 2.2.5 - Arbitrary Post Deletion CVE-2019-14773 7.5 August 9, 2019
7 Woody Ad Snippets <= 2.2.4 - Missing Authorization to Settings Import CVE-2019-15858 8.8 Jerome Bruandet August 2, 2019

Did you know Wordfence Intelligence provides free personal and commercial API access to our comprehensive WordPress vulnerability database, along with a free webhook integration to stay on top of the latest vulnerabilities added and updated in the database? Get started today!

Learn more

Want to get notified of the latest vulnerabilities that may affect your WordPress site?
Install Wordfence on your site today to get notified immediately if your site is affected by a vulnerability that has been added to our database.

Get Wordfence

The Wordfence Intelligence WordPress vulnerability database is completely free to access and query via API. Please review the documentation on how to access and consume the vulnerability data via API.

Documentation