Vulnerability Report
Plugin Medium Patch path listed

Code Snippets < 2.7.0 - Reflected Cross-Site Scripting

The Code Snippets plugin for WordPress is vulnerable to Reflected Cross-Site Scripting via the ‘tag’ parameter in versions before 2.7.0 due to insufficient input sanitization and output escaping. 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.

Quick Answer

This vulnerability is a medium severity with CVSS 6.1 Cross-Site Scripting issue affecting the Plugin Code Snippets. It affects Versions before 2.7.0 and is fixed in 2.7.0.

Published
Jul 24, 2016
Last Updated
Jan 22, 2024
Slug
code-snippets
Operational Summary

What the operator needs to know

Patch Status
Patched release is available
Remediation
Update to version 2.7.0, or a newer patched version
Operator Briefing

the tracked vulnerability is tracked for the Plugin Code Snippets as medium severity with CVSS 6.1. The affected range is Versions before 2.7.0. Update Code Snippets to 2.7.0 or newer where that version is compatible with the site.

Issue Type
Cross-Site Scripting
Primary Fixed Version
2.7.0
Primary Affected Range
Versions before 2.7.0
Tracking ID
fd0c3965-6b35-46a8-8cf0-6726cdb03c8f
Detailed Metadata
Software Type Plugin
Software Slug
code-snippets View on wordpress.org
CVE No linked CVE entry.
Patched Versions
2.7.0
Affected Versions
Versions before 2.7.0
Related CVE Cluster

Related CVEs for Code Snippets

These internal links group the same WordPress plugin by CVE, issue type, severity, and patch status so operators and search engines can connect the full vulnerability cluster.

Licensing Notices

This record contains material that is subject to copyright

DEFIANT
Copyright 2012-2026 Defiant Inc.

License: Defiant hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute this software vulnerability information. Any copy of the software vulnerability information you make for such purposes is authorized provided that you include a hyperlink to this vulnerability record and reproduce Defiant's copyright designation and this license in any such copy. Read more