Set HTML lang attribute per post Security & Risk Analysis

wordpress.org/plugins/set-html-lang-attribute-per-post

This wordpress plugin adds a meta box for specifying html lang="" language per post.

100 active installs v0.0.1 PHP + WP 3.0.1+ Updated Jan 11, 2015
htmllanglanguage
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Download
Safety Verdict

Is Set HTML lang attribute per post Safe to Use in 2026?

Generally Safe

Score 85/100

Set HTML lang attribute per post has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.

No known CVEs Updated 11yr ago
Risk Assessment

The 'set-html-lang-attribute-per-post' plugin exhibits a strong security posture in its current version (0.0.1). The static analysis reveals no direct attack surface through AJAX, REST API, shortcodes, or cron events that lack authentication or permission checks. Furthermore, the code shows good practices regarding SQL queries, all of which are prepared, and the presence of a nonce check suggests an awareness of common WordPress security patterns.

However, there are areas for improvement. A significant concern is the low percentage of properly escaped output (40%). This indicates that sensitive data displayed to users could be susceptible to Cross-Site Scripting (XSS) vulnerabilities. While no taint analysis flows with unsanitized paths were found, the unescaped output represents a potential entry point for malicious scripts if user-supplied data is not handled carefully. The lack of capability checks is also a minor concern, though less critical given the absence of exposed entry points.

The plugin's vulnerability history is a significant strength, showing zero known CVEs and no past vulnerabilities. This suggests a well-maintained codebase. In conclusion, the plugin is currently in a good state, but addressing the output escaping is crucial to mitigate potential XSS risks and solidify its secure foundation.

Key Concerns

  • Low percentage of properly escaped output
Vulnerabilities
None known

Set HTML lang attribute per post Security Vulnerabilities

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

Set HTML lang attribute per post Code Analysis

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

Output Escaping

40% escaped5 total outputs
Attack Surface

Set HTML lang attribute per post Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 4
actionplugins_loadedset-html-lang-attribute-per-post.php:18
filterpost_classset-html-lang-attribute-per-post.php:19
actionadd_meta_boxesset-html-lang-attribute-per-post.php:20
actionsave_postset-html-lang-attribute-per-post.php:21
Maintenance & Trust

Set HTML lang attribute per post Maintenance & Trust

Maintenance Signals

WordPress version tested4.1.42
Last updatedJan 11, 2015
PHP min version
Downloads2K

Community Trust

Rating86/100
Number of ratings3
Active installs100
Developer Profile

Set HTML lang attribute per post Developer Profile

nilsnh

1 plugin · 100 total installs

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

How We Detect Set HTML lang attribute per post

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

Asset Fingerprints

HTML / DOM Fingerprints

CSS Classes
htmllang-row-title
Data Attributes
"lang="
FAQ

Frequently Asked Questions about Set HTML lang attribute per post