MathJax-LaTeX Security & Risk Analysis

wordpress.org/plugins/mathjax-latex

This plugin enables MathJax (http://www.mathjax.org) functionality for WordPress (http://www.wordpress.org).

10K active installs v1.3.13 PHP 7.0.0+ WP 3.0+ Updated Jan 14, 2025
latexmathematicsmathjaxmathmlscience
91
A · Safe
CVEs total1
Unpatched0
Last CVEMar 25, 2013
Download
Safety Verdict

Is MathJax-LaTeX Safe to Use in 2026?

Generally Safe

Score 91/100

MathJax-LaTeX has a strong security track record. Known vulnerabilities have been patched promptly.

1 known CVELast CVE: Mar 25, 2013Updated 1yr ago
Risk Assessment

The "mathjax-latex" plugin version 1.3.13 exhibits a generally good security posture based on the provided static analysis. The absence of dangerous functions, file operations, and external HTTP requests, along with the exclusive use of prepared statements for SQL queries and proper output escaping, are all positive indicators. The presence of nonce and capability checks, though limited, further contributes to its security. The limited attack surface with no apparent unprotected entry points is also a strength.

However, the vulnerability history presents a notable concern. While there are no currently unpatched vulnerabilities, the plugin has a history of one high-severity CVE, specifically Cross-Site Request Forgery (CSRF). The fact that this vulnerability was from 2013, a decade ago, and is not currently unpatched suggests it may have been fixed in subsequent versions, but the existence of a past high-severity issue warrants caution, especially given the plugin's age and potential for unaddressed legacy flaws. The static analysis, while positive, doesn't explicitly cover all potential CSRF vectors that might have been present in older versions or manifest in specific usage patterns.

Key Concerns

  • Past High Severity CVE (CSRF)
Vulnerabilities
1

MathJax-LaTeX Security Vulnerabilities

CVEs by Year

1 CVE in 2013
2013
Patched Has unpatched

Severity Breakdown

High
1

1 total CVE

WF-10c1402d-613d-4d72-b488-c0af2bee4d59-mathjax-latexhigh · 8.8Cross-Site Request Forgery (CSRF)

MathJax-LaTeX < 1.2 - Cross-Site Request Forgery

Mar 25, 2013 Patched in 1.2 (3956d)
Code Analysis
Analyzed Mar 16, 2026

MathJax-LaTeX Code Analysis

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

Output Escaping

100% escaped16 total outputs
Data Flows
All sanitized

Data Flow Analysis

2 flows
admin_save (class-mathjax-latex-admin.php:187)
Source (user input) Sink (dangerous op) Sanitizer Transform Unsanitized Sanitized
Attack Surface

MathJax-LaTeX Attack Surface

Entry Points3
Unprotected0

Shortcodes 3

[mathjax] class-mathjax-latex.php:108
[nomathjax] class-mathjax-latex.php:109
[latex] class-mathjax-latex.php:110
WordPress Hooks 8
actionadmin_menuclass-mathjax-latex-admin.php:60
actionwp_footerclass-mathjax-latex.php:111
filterscript_loader_tagclass-mathjax-latex.php:112
filterthe_contentclass-mathjax-latex.php:115
filterplugin_action_linksclass-mathjax-latex.php:118
filterthe_contentclass-mathjax-latex.php:120
actioninitclass-mathjax-latex.php:122
filtertiny_mce_before_initclass-mathjax-latex.php:123
Maintenance & Trust

MathJax-LaTeX Maintenance & Trust

Maintenance Signals

WordPress version tested6.7.5
Last updatedJan 14, 2025
PHP min version7.0.0
Downloads169K

Community Trust

Rating88/100
Number of ratings11
Active installs10K
Developer Profile

MathJax-LaTeX Developer Profile

knowledgeblog

2 plugins · 10K total installs

71
trust score
Avg Security Score
88/100
Avg Patch Time
3956 days
View full developer profile
Detection Fingerprints

How We Detect MathJax-LaTeX

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/mathjax-latex/mathjax-latex.php/wp-content/plugins/mathjax-latex/class-mathjax-latex.php/wp-content/plugins/mathjax-latex/class-mathjax-latex-admin.php

HTML / DOM Fingerprints

Shortcode Output
[mathjax][/mathjax][nomathjax][/nomathjax]
FAQ

Frequently Asked Questions about MathJax-LaTeX