
Set HTML lang attribute per post Security & Risk Analysis
wordpress.org/plugins/set-html-lang-attribute-per-postThis wordpress plugin adds a meta box for specifying html lang="" language per post.
Is Set HTML lang attribute per post Safe to Use in 2026?
Generally Safe
Score 85/100Set HTML lang attribute per post has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.
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
Set HTML lang attribute per post Security Vulnerabilities
Set HTML lang attribute per post Code Analysis
Output Escaping
Set HTML lang attribute per post Attack Surface
WordPress Hooks 4
Maintenance & Trust
Set HTML lang attribute per post Maintenance & Trust
Maintenance Signals
Community Trust
Set HTML lang attribute per post Alternatives
Site Language Definition
site-language-definition
Site Language Definition is a simple plugin for forcing the web browser to know what language your site is in.
Loco Translate
loco-translate
Translate WordPress plugins and themes directly in your browser. Versatile PO file editor with integrated AI translation providers.
Translate WordPress with GTranslate
gtranslate
Translate WordPress with Google Translate multilanguage plugin to make your website multilingual. Complete multilingual SEO solution for WordPress.
Polylang
polylang
Go multilingual in a simple and efficient way. Keep writing posts and taxonomy terms as usual while defining their languages all at once.
Connect Polylang for Elementor
connect-polylang-elementor
Connect Polylang with Elementor: translated templates, language switcher widget, language visibility conditions and more
Set HTML lang attribute per post Developer Profile
1 plugin · 100 total installs
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
htmllang-row-title"lang="