
Add Custom CSS and JS Security & Risk Analysis
wordpress.org/plugins/add-custom-css-and-jsNow you can write different code of CSS and JS for admin panel and for front-end and you can also use different css and js if user is login.
Is Add Custom CSS and JS Safe to Use in 2026?
Use With Caution
Score 64/100Add Custom CSS and JS has 1 unpatched vulnerability. Evaluate alternatives or apply available mitigations.
The "add-custom-css-and-js" plugin, version 1.2.0, exhibits a mixed security posture. On one hand, the static analysis reveals a remarkably clean codebase with no detected dangerous functions, all SQL queries using prepared statements, and all output properly escaped. Furthermore, there are no identified entry points like AJAX handlers, REST API routes, or shortcodes that are unprotected, and no critical or high-severity taint flows were found.
However, the plugin's history is a significant concern. It has one known and currently unpatched CVE, classified as medium severity, with the last vulnerability occurring very recently. This indicates a recurring issue with security vulnerabilities, and the fact that it remains unpatched is a critical weakness. The vulnerability type being Cross-Site Request Forgery (CSRF) suggests potential issues with state-changing actions not being properly protected, despite the static analysis not explicitly highlighting missing nonce checks on entry points (as there are none apparent). The presence of numerous file operations (31) without further context is also something to note, as complex file handling can sometimes introduce vulnerabilities if not meticulously secured.
In conclusion, while the plugin's core code seems to follow good security practices regarding SQL and output handling, the persistent presence of unpatched vulnerabilities, specifically a recent medium-severity CSRF, overshadows these strengths. The lack of unprotected entry points is positive, but the unpatched CVE is a clear and present danger that requires immediate attention.
Key Concerns
- Unpatched CVE (medium severity)
- Recurring vulnerability pattern (CSRF)
- Numerous file operations (31)
Add Custom CSS and JS Security Vulnerabilities
CVEs by Year
Severity Breakdown
1 total CVE
Add Custom CSS and JS <= 1.20 - Cross-Site Request Forgery to Stored Cross-Site Scripting
Add Custom CSS and JS Code Analysis
Add Custom CSS and JS Attack Surface
WordPress Hooks 7
Maintenance & Trust
Add Custom CSS and JS Maintenance & Trust
Maintenance Signals
Community Trust
Add Custom CSS and JS Alternatives
Asset CleanUp: Page Speed Booster
wp-asset-clean-up
Make your website load FASTER by stopping specific styles (.CSS) & scripts (.JS) from loading. It works best with a page caching plugin / service.
MaxButtons – Create buttons
maxbuttons
Maxbuttons is the best and easiest button plugin for WordPress. Within minutes you can create beautiful buttons, share buttons and social icons.
LoftLoader
loftloader
An easy to use plugin to add an animated preloader to your website with fully customisations.
Animate It!
animate-it
Add cool CSS3 animations to your content.
Scripts n Styles
scripts-n-styles
This plugin allows Admin users to individually add HTML, custom CSS, Classes and JavaScript directly to Post, Pages or any other custom post types.
Add Custom CSS and JS Developer Profile
3 plugins · 620 total installs
How We Detect Add Custom CSS and JS
Patterns used to identify this plugin on WordPress sites during automated security audits and web crawling.
Asset Fingerprints
/wp-content/uploads/add-custom-css-and-js/cs_for_admin.css/wp-content/uploads/add-custom-css-and-js/cs_for_front.css/wp-content/uploads/add-custom-css-and-js/cs_for_login.css/wp-content/uploads/add-custom-css-and-js/js_for_admin.js/wp-content/uploads/add-custom-css-and-js/js_for_front.js/wp-content/uploads/add-custom-css-and-js/js_for_login.js/wp-content/uploads/add-custom-css-and-js/js_for_admin.js/wp-content/uploads/add-custom-css-and-js/js_for_front.js/wp-content/uploads/add-custom-css-and-js/js_for_login.jsHTML / DOM Fingerprints
//write JS file for admin//write JS file for frontend//write JS file for login//write CSS file only for frontend+2 more