CSS-Only Lightbox Security & Risk Analysis

wordpress.org/plugins/css-only-lightbox

Adds a shortcode and TinyMCE button for creating CSS-only lightboxes for images.

10 active installs v1.0 PHP + WP 3.0.1+ Updated Oct 11, 2016
csscss-lightboxlightbox
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Download
Safety Verdict

Is CSS-Only Lightbox Safe to Use in 2026?

Generally Safe

Score 85/100

CSS-Only Lightbox has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.

No known CVEs Updated 9yr ago
Risk Assessment

The "css-only-lightbox" v1.0 plugin demonstrates a generally good security posture based on the provided static analysis and vulnerability history. The absence of known CVEs and the plugin's limited attack surface, particularly its zero unprotected entry points, are strong positive indicators. The code analysis shows no dangerous functions, no raw SQL queries, and a commendable rate of output escaping. File operations and external HTTP requests are also absent, further reducing potential attack vectors. The presence of capability checks, even without nonce checks on AJAX (which are also absent), suggests some level of access control consideration.

However, the complete lack of taint analysis flows is a significant concern. While the static analysis didn't reveal any immediate critical or high-severity issues, this could mean that the analysis tools were not able to effectively identify potential vulnerabilities, or that the code simply lacks complex data flows that would be flagged. The absence of nonce checks on the single shortcode is a potential weakness. While the shortcode itself is not directly exposed as an AJAX or REST API endpoint, it is still an entry point into the plugin's functionality, and without a nonce, it could be susceptible to Cross-Site Request Forgery (CSRF) attacks if it performs any sensitive actions or modifies data.

In conclusion, the plugin is currently free from known vulnerabilities and has implemented several good security practices. The main areas for improvement lie in the potential for deeper taint analysis and the implementation of nonce checks on its shortcode to mitigate CSRF risks. The overall risk is low, but not negligible, due to these identified areas for enhancement.

Key Concerns

  • Missing nonce check on shortcode
  • Zero taint flows analyzed
Vulnerabilities
None known

CSS-Only Lightbox Security Vulnerabilities

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

CSS-Only Lightbox Code Analysis

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

Bundled Libraries

TinyMCE

Output Escaping

73% escaped11 total outputs
Attack Surface

CSS-Only Lightbox Attack Surface

Entry Points1
Unprotected0

Shortcodes 1

[css_lightbox] css-only-lighbox.php:16
WordPress Hooks 5
filtermce_external_pluginscss-only-lighbox.php:26
filtermce_buttonscss-only-lighbox.php:28
filtermce_external_languagescss-only-lighbox.php:30
actioninitcss-only-lighbox.php:32
actionplugins_loadedcss-only-lighbox.php:123
Maintenance & Trust

CSS-Only Lightbox Maintenance & Trust

Maintenance Signals

WordPress version tested4.6.30
Last updatedOct 11, 2016
PHP min version
Downloads2K

Community Trust

Rating0/100
Number of ratings0
Active installs10
Developer Profile

CSS-Only Lightbox Developer Profile

dan-jones

2 plugins · 20 total installs

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

How We Detect CSS-Only Lightbox

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/css-only-lightbox/css-lightbox.css

HTML / DOM Fingerprints

CSS Classes
lightbox-linklightbox-enlargelightbox-targetlightbox-overlaylightbox-imagelightbox-innerlightbox-titlelightbox-caption+1 more
Data Attributes
data-mce-placeholder
JS Globals
css_lightbox_button
Shortcode Output
[css_lightbox id="" height="" width="" title="" caption="" alt="" icon="true"]Image URL[/css_lightbox]
FAQ

Frequently Asked Questions about CSS-Only Lightbox