Raw HTML Snippets Security & Risk Analysis

wordpress.org/plugins/raw-html-snippets

Create a library of raw HTML snippets that you can easily insert into any page/post content using a shortcode.

2K active installs v2.0.4 PHP + WP 2.6+ Updated Jul 31, 2023
autoformattingembed-htmlhtmlraw-html
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is Raw HTML Snippets Safe to Use in 2026?

Generally Safe

Score 85/100

Raw HTML Snippets has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.

No known CVEs Updated 2yr ago
Risk Assessment

The raw-html-snippets plugin v2.0.4 exhibits a generally good security posture based on the provided static analysis and vulnerability history. The absence of known CVEs and the lack of critical or high-severity vulnerabilities in its history are positive indicators of development attention to security. The static analysis reveals a remarkably small attack surface, with no apparent entry points that are unprotected. Furthermore, the code demonstrates a commitment to secure coding practices by exclusively using prepared statements for SQL queries, and there are no detected file operations or external HTTP requests, which are common vectors for vulnerabilities. The taint analysis also shows no critical or high-severity issues with unsanitized paths, indicating that data inputs are likely handled safely within the analyzed flows.

However, there are areas for potential concern that warrant attention. The most significant weakness identified is the output escaping, where only 46% of outputs are properly escaped. This percentage is considerably low and suggests a risk of cross-site scripting (XSS) vulnerabilities. If user-supplied data is being outputted without sufficient sanitization, an attacker could potentially inject malicious scripts. Additionally, the complete absence of nonce and capability checks across all entry points, while zero in number, is a concern if the plugin were to introduce any AJAX handlers or similar features in the future without implementing these essential security mechanisms. While the current attack surface is zero, this lack of fundamental security checks could become a significant risk if the plugin evolves.

Key Concerns

  • Low percentage of properly escaped outputs
  • No nonce checks on any entry points
  • No capability checks on any entry points
Vulnerabilities
None known

Raw HTML Snippets Security Vulnerabilities

No known vulnerabilities — this is a good sign.
Code Analysis
Analyzed Mar 16, 2026

Raw HTML Snippets Code Analysis

Dangerous Functions
0
Raw SQL Queries
0
0 prepared
Unescaped Output
13
11 escaped
Nonce Checks
0
Capability Checks
0
File Operations
0
External Requests
0
Bundled Libraries
0

Output Escaping

46% escaped24 total outputs
Data Flows
All sanitized

Data Flow Analysis

3 flows
rhs_raw_html_snippet_editor (raw-html-snippets.php:196)
Source (user input) Sink (dangerous op) Sanitizer Transform Unsanitized Sanitized
Attack Surface

Raw HTML Snippets Attack Surface

Entry Points0
Unprotected0
Maintenance & Trust

Raw HTML Snippets Maintenance & Trust

Maintenance Signals

WordPress version tested
Last updatedJul 31, 2023
PHP min version
Downloads41K

Community Trust

Rating94/100
Number of ratings11
Active installs2K
Developer Profile

Raw HTML Snippets Developer Profile

Andy Stratton

4 plugins · 2K total installs

90
trust score
Avg Security Score
85/100
Avg Patch Time
2 days
View full developer profile
Detection Fingerprints

How We Detect Raw HTML Snippets

Patterns used to identify this plugin on WordPress sites during automated security audits and web crawling.

Asset Fingerprints

HTML / DOM Fingerprints

Data Attributes
data-target
JS Globals
jQuery
Shortcode Output
[raw_html_snippet id="
FAQ

Frequently Asked Questions about Raw HTML Snippets