WP Add Custom CSS Security & Risk Analysis

wordpress.org/plugins/wp-add-custom-css

Add custom css to the whole website and to specific posts and pages.

60K active installs v1.2.1 PHP + WP 4.0+ Updated Aug 14, 2025
csscustom-cssstylestylesstylesheet
100
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is WP Add Custom CSS Safe to Use in 2026?

Generally Safe

Score 100/100

WP Add Custom CSS has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.

No known CVEs Updated 7mo ago
Risk Assessment

The wp-add-custom-css plugin version 1.2.1 exhibits a generally strong security posture based on the provided static analysis. The complete absence of AJAX handlers, REST API routes, shortcodes, and cron events significantly limits the plugin's attack surface. Furthermore, the lack of any dangerous functions, external HTTP requests, and the use of prepared statements for all SQL queries are excellent security practices. The plugin also demonstrates a commitment to security by including nonce and capability checks in its code.

However, a significant concern arises from the low percentage (14%) of properly escaped output. This indicates a substantial risk of Cross-Site Scripting (XSS) vulnerabilities, where malicious scripts could be injected and executed within the WordPress admin or frontend if user-supplied data is not properly sanitized before being displayed. While taint analysis did not reveal any immediate high-severity issues, the unescaped output presents a clear vector for potential exploitation.

The plugin's vulnerability history is spotless, with no recorded CVEs. This, combined with the limited attack surface and good coding practices in other areas, suggests a well-maintained codebase. Nevertheless, the unescaped output remains a critical weakness that requires immediate attention. The plugin's strengths lie in its minimal attack surface and secure database interaction, but its primary weakness is the widespread lack of output escaping, which presents a tangible XSS risk.

Key Concerns

  • Low percentage of properly escaped output
Vulnerabilities
None known

WP Add Custom CSS Security Vulnerabilities

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

WP Add Custom CSS Code Analysis

Dangerous Functions
0
Raw SQL Queries
0
0 prepared
Unescaped Output
25
4 escaped
Nonce Checks
1
Capability Checks
2
File Operations
3
External Requests
0
Bundled Libraries
0

Output Escaping

14% escaped29 total outputs
Data Flows
All sanitized

Data Flow Analysis

1 flows
<wordpress-add-custom-css> (wordpress-add-custom-css.php:0)
Source (user input) Sink (dangerous op) Sanitizer Transform Unsanitized Sanitized
Attack Surface

WP Add Custom CSS Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 12
actionadmin_menuwordpress-add-custom-css.php:40
actionadmin_initwordpress-add-custom-css.php:41
actionupdate_option_wpacc_settingswordpress-add-custom-css.php:43
actionadmin_enqueue_scriptswordpress-add-custom-css.php:46
actionadd_meta_boxeswordpress-add-custom-css.php:47
actionsave_postwordpress-add-custom-css.php:48
actioninitwordpress-add-custom-css.php:49
filterquery_varswordpress-add-custom-css.php:50
actionwp_enqueue_scriptswordpress-add-custom-css.php:51
actionwp_headwordpress-add-custom-css.php:52
actionwp_headwordpress-add-custom-css.php:53
actiontemplate_redirectwordpress-add-custom-css.php:394
Maintenance & Trust

WP Add Custom CSS Maintenance & Trust

Maintenance Signals

WordPress version tested6.8.5
Last updatedAug 14, 2025
PHP min version
Downloads989K

Community Trust

Rating96/100
Number of ratings90
Active installs60K
Developer Profile

WP Add Custom CSS Developer Profile

Daniele De Santis

2 plugins · 60K total installs

89
trust score
Avg Security Score
93/100
Avg Patch Time
30 days
View full developer profile
Detection Fingerprints

How We Detect WP Add Custom CSS

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/wp-add-custom-css/images/icon.png
Script Paths
/wp-content/plugins/wp-add-custom-css/lib/ace/ace-custom.css/wp-content/plugins/wp-add-custom-css/lib/ace/ace.js/wp-content/plugins/wp-add-custom-css/js/scripts-ace.js

HTML / DOM Fingerprints

CSS Classes
wpacc_editor_darkwpacc_editor_containercustom_css_ace
Data Attributes
id="single_custom_css"name="single_custom_css"id="single_custom_css_ace"class="custom_css_ace"id="worpress_custom_css_form"name="wp_add_custom_css_box_nonce"
FAQ

Frequently Asked Questions about WP Add Custom CSS