Intel

AIKIDO-2025-10870

jsxgraph is vulnerable to Cross-site Scripting (XSS)

Cross-site Scripting (XSS) Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.

48

Medium Risk

This Affects:

jsjsxgraph
1.0.0 - 1.12.0
Fixed in 1.12.1

TL;DR

Affected versions of this package are vulnerable to cross-site scripting (xss) because user-supplied input is not properly validated before being assigned to the innerHTML property of DOM elements. Several locations in the codebase directly insert untrusted data into HTML content, allowing an attacker to inject and execute arbitrary JavaScript in the victim’s browser.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Background info

jsxgraph is vulnerable to Cross-site Scripting (XSS) in versions 1.0.0 - 1.12.0.

How to fix this

Upgrade the jsxgraph library to the patch version.