Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

mathlive

Latest version: v0.111.4

Overview

Last scanned
31 Oct 2026
Published
31 Oct 2026
npm package Publisher: arnog
2,193 Stars
406 Forks
5 Versions
1.1M Downloads
TypeScript Repo language

Scan summary

mathlive was last scanned on 31 Oct 2026 at version 0.111.4. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 5 versions; the latest 3 were published on 31 Oct 2026.
  • Findings: No rules fired in version 0.111.4.
  • Downloads: 1,074,546 downloads.

Versions

5 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.111.4 LATEST 31 Oct 2026 No rules fired
0.111.3 31 Oct 2026 No rules fired
0.111.2 31 Oct 2026 No rules fired
0.111.1 9 Oct 2026 Not shown
0.111.0 30 Sep 2026 Not shown

No rules fired in 0.111.4

Findings

Findings for v0.111.4. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.

The score describes 0.111.4; other versions have their own rules, not their own score.

Known vulnerabilities

2 CVEs · last 29 Jul 2026

0 CRITICAL 0 HIGH 2 MEDIUM 0 LOW

Versions

  • ≥ 0.110.0
  • ≥ 0.104.0, < 0.110.0 1 MEDIUM
  • < 0.104.0 2 MEDIUM

Vulnerabilities

  • CVE-2026-54705 Medium 29 Jul 2026 mathlive's Lack of Escaping of HTML allows for XSS Fixed in 0.110.0
  • CVE-2025-29049 Medium 1 Apr 2025 MathLive's Lack of Escaping of HTML allows for XSS Fixed in 0.104.0

README

The publisher’s own README, as collected from the registry.

Maintenance GitHub license

MathLive ships batteries-included UI components that bring TeX-quality math to the web. Drop a mathfield on the page, wire up the events you care about, and MathLive handles rendering, editing, speech, and keyboard UX for you.

  • 800+ built-in LaTeX commands with high-fidelity typesetting
  • Mobile-ready virtual keyboards and physical keyboard shortcuts
  • Export/import as LaTeX, MathML, ASCIIMath, Typst, or MathJSON
  • Screen-reader friendly with math-to-speech and ARIA labels
  • Highly customizable UI, themes, macros, commands, and behaviors

Components at a Glance

<math-field> - The flagship math editor. Provides text-area like APIs (value, selection, executeCommand()), emits input and change events, and exposes a full virtual keyboard UI with custom layouts.

<math-span> - Inline, lightweight renderer for static math. Ideal for embedding expressions inside paragraphs without initializing a full mathfield.

<math-div> - Block-level renderer for static math and display equations. Useful for articles, assessments, or anywhere you previously called renderMathInDocument().

Both static components:

  • Accept LaTeX by default and support format="ascii-math" or format="math-json"
  • Expose a mode attribute (textstyle/displaystyle)
  • Lazy-load shared fonts once, defer rendering until visible via Intersection Observer, and auto-generate ARIA labels with speech-friendly text
  • Provide an imperative render() method when you need to update content programmatically
<math-span>e^{i\pi} + 1 = 0</math-span>
<math-div format="ascii-math">int_0^oo e^(-x^2) dx</math-div>

🚀 Quick Start

Install and import the component bundle:

npm install mathlive
import 'mathlive';

Render a mathfield:

<!DOCTYPE html>
<html lang="en-US">
  <body>
    <math-field virtual-keyboard-mode="auto" smart-fence>f(x)=x+1</math-field>
  </body>
</html>

Render static math without the editor chrome:

<math-span id="area">A = \pi r^2</math-span>
<math-div format="math-json" mode="displaystyle">
  {"kind":"Multiply","args":["x",{"kind":"Power","base":"y","exponent":2}]}
</math-div>
<script type="module">
  const formula = document.getElementById('area');
  formula.textContent = 'A = \\pi r^2';
  await formula.render();
</script>

Or load MathLive from a CDN:

<head>
  <script defer src="https://cdn.jsdelivr.net/npm/mathlive"></script>
</head>
Framework Guides

📖 Documentation

Comprehensive guides cover customization, command execution, macros, keyboard shortcuts, speech output, static rendering, and more. Browse everything on MathLive.io and dig into the Mathfield API reference for full typings and method docs.

FAQ

Q: When is the next release?

MathLive follows a semi-annual cadence with major drops around June and January, plus patch releases for regression fixes. Sponsor requests or community pull requests can trigger out-of-band releases when needed.

Related Projects

💬 Contact Us

📃 License

This project is licensed under the MIT License.

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.

Where it’s listed

The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).

  • npm mathlive

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Powered by Read the latest findings

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

CVE

Java4Shell (CVE-2026-114938): Easy to Crash, Hard to Exploit — Less Than 0.12% of JVMs Estimated at Risk of RCE

Copy of Template Design OX Blog (1)
Research

Thousands Of GitHub Accounts Hijacked With wfx-loot CI Secret Stealing Malware Via GitHub Actions & npm

Copy of Template Design OX Blog (2)
Research

NGINX2Root: Five Critical NGINX Flaws Expose Web Servers to Remote Code Execution

Frame 2085668439 (1)
Group 1261154229