CVE-2025-29049

6.3 MEDIUM

📋 TL;DR

A Cross-Site Scripting (XSS) vulnerability in arnog MathLive versions v0.103.0 and earlier allows attackers to inject malicious scripts via the MathLive function. This affects web applications using vulnerable MathLive versions for mathematical expression rendering. The vulnerability is fixed in version 0.104.0.

💻 Affected Systems

Products:
  • arnog MathLive
Versions: v0.103.0 and earlier
Operating Systems: All
Default Config Vulnerable: ⚠️ Yes
Notes: Only affects applications using MathLive for mathematical expression rendering. The vulnerability is in the MathLive library itself.

⚠️ Manual Verification Required

This CVE does not have specific version information in our database, so automatic vulnerability detection cannot determine if your system is affected.

Why? The CVE database entry doesn't specify which versions are vulnerable (no version ranges provided by the vendor/NVD).

🔒 Custom verification scripts are available for registered users. Sign up free to download automated test scripts.

Recommended Actions:
  1. Review the CVE details at NVD
  2. Check vendor security advisories for your specific version
  3. Test if the vulnerability is exploitable in your environment
  4. Consider updating to the latest version as a precaution

⚠️ Risk & Real-World Impact

🔴

Worst Case

Attackers could execute arbitrary JavaScript in users' browsers, potentially stealing session cookies, performing actions as the user, or redirecting to malicious sites.

🟠

Likely Case

Attackers inject malicious scripts that steal user data or session information when users interact with vulnerable MathLive components.

🟢

If Mitigated

With proper Content Security Policy (CSP) headers and input sanitization, impact is limited to script execution within the vulnerable component's context.

🌐 Internet-Facing: HIGH
🏢 Internal Only: MEDIUM

🎯 Exploit Status

Public PoC: ✅ No
Weaponized: UNKNOWN
Unauthenticated Exploit: ⚠️ Yes
Complexity: LOW

XSS vulnerabilities typically have low exploitation complexity when user input reaches vulnerable functions without proper sanitization.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: 0.104.0

Vendor Advisory: https://github.com/advisories/GHSA-qwj6-q94f-8425

Restart Required: No

Instructions:

1. Update MathLive dependency to version 0.104.0 or later. 2. For npm: 'npm update mathlive'. 3. For yarn: 'yarn upgrade mathlive'. 4. Rebuild and redeploy your application.

🔧 Temporary Workarounds

Input Sanitization

all

Implement server-side and client-side input validation to sanitize mathematical expressions before passing to MathLive.

Content Security Policy

all

Implement strict CSP headers to limit script execution capabilities.

Content-Security-Policy: default-src 'self'; script-src 'self'

🧯 If You Can't Patch

  • Implement strict Content Security Policy headers to limit script execution
  • Disable or remove MathLive functionality until patching is possible

🔍 How to Verify

Check if Vulnerable:

Check your package.json or dependency manifest for MathLive version. If version is 0.103.0 or earlier, you are vulnerable.

Check Version:

npm list mathlive | grep mathlive

Verify Fix Applied:

After updating, verify MathLive version is 0.104.0 or later. Test mathematical expression inputs for script injection attempts.

📡 Detection & Monitoring

Log Indicators:

  • Unusual mathematical expression inputs containing script tags or JavaScript code
  • Error logs from MathLive parsing failures

Network Indicators:

  • HTTP requests containing suspicious script payloads in mathematical expression parameters

SIEM Query:

source="web_logs" AND ("<script>" OR "javascript:") AND uri_path="/mathlive*"

🔗 References

📤 Share & Export