Vulnerability Report
Plugin Medium Patch path listed CVE-2021-25008

Code Snippets <= 2.14.2 - Reflected Cross-Site Scripting

The Code Snippets WordPress plugin before 2.14.3 does not escape the snippets-safe-mode parameter before outputting it back in attributes, leading to a Reflected Cross-Site Scripting issue

Quick Answer

CVE-2021-25008 is a medium severity with CVSS 6.1 Cross-Site Scripting issue affecting the Plugin Code Snippets. It affects Versions before 2.14.3 and is fixed in 2.14.3.

Published
Dec 27, 2021
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.14.3, or a newer patched version
Operator Briefing

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

Issue Type
Cross-Site Scripting
Primary Fixed Version
2.14.3
Primary Affected Range
Versions before 2.14.3
Tracking ID
CVE-2021-25008
Detailed Metadata
Software Type Plugin
Software Slug
code-snippets View on wordpress.org
CVE CVE-2021-25008
Patched Versions
2.14.3
Affected Versions
Versions before 2.14.3
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

MITRE
Copyright 1999-2026 The MITRE Corporation

License: CVE Usage: MITRE 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 Common Vulnerabilities and Exposures (CVE®). Any copy you make for such purposes is authorized provided that you reproduce MITRE's copyright designation and this license in any such copy. Read more