Post Snippets <= 4.0.2 - Authenticated (Administrator+) Stored Cross-Site Scripting via 'snippet_content'

4.4
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
CVE CVE-2023-25459
CVSS 4.4 (Medium)
Publicly Published May 9, 2023
Last Updated January 22, 2024
Researcher Abdi Pranata

Description

The Post Snippets plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the ‘snippet_content’ parameter in versions up to, and including, 4.0.2 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with administrator-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. This only impacts multi-site installations and installations where unfiltered_html has been disabled.

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

References

Share

Vulnerability Details for Post Snippets – Custom WordPress Code Snippets Customizer

Software Type Plugin
Software Slug post-snippets (view on wordpress.org)
Patched? Yes
Remediation Update to version 4.0.3, or a newer patched version
Affected Version
  • <= 4.0.2
Patched Version
  • 4.0.3

Recent vulnerabilities in Post Snippets – Custom WordPress Code Snippets Customizer

# Title CVE ID CVSS Researchers Date
1 Post Snippets <= 4.2.4 - Authenticated (Contributor+) Stored Cross-Site Scripting CVE-2026-12980 6.4 Philipp Doblhofer October 8, 2026
2 Post Snippets – Custom WordPress Code Snippets Customizer <= 4.0.19 - Authenticated (Contributor+) Remote Code Execution CVE-2026-56049 8.8 daroo June 25, 2026
3 Post Snippets <= 4.0.19 - Authenticated (Administrator+) Stored Cross-Site Scripting via Import CVE-2026-7430 4.4 a1batr0ss May 28, 2026
4 Post Snippets – Custom WordPress Code Snippets Customizer <= 4.0.12 - Authenticated (Contributor+) Remote Code Execution CVE-2026-25001 8.8 Doan Dinh Van (d52v) March 16, 2026
5 Post Snippets <= 4.0.11 - Cross-Site Request Forgery CVE-2025-63040 4.3 Nabil Irawan December 31, 2025
6 Freemius SDK <= 2.5.9 - Reflected Cross-Site Scripting via fs_request_get CVE-2023-33999 6.1 Rafie Muhammad July 18, 2023
7 Freemius SDK <= 2.4.2 - Missing Authorization Checks CVE-2022-4974 6.3 March 4, 2022
8 Post Snippets <= 3.1.3 - Cross-Site Request Forgery to Stored Cross-Site Scripting CVE-2021-25010 9.6 Muhammad Adel January 31, 2022
9 Freemius SDK <= 2.2.3 - Missing Authorization to Arbitrary Options Update 8.8 February 25, 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