fix(deps): update dependency mathjs to v15 [security] - #604
Merged
Conversation
renovate
Bot
requested review from
fergmac,
lunamoonmoon,
raarielgrace and
wilwong89
as code owners
April 11, 2026 01:28
auto-merge was automatically disabled
April 27, 2026 19:12
Pull request was closed
renovate
Bot
force-pushed
the
renovate/npm-mathjs-vulnerability
branch
2 times, most recently
from
April 27, 2026 22:36
b415cf7 to
714085d
Compare
Contributor
Author
Edited/Blocked NotificationRenovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR. You can manually request rebase by checking the rebase/retry box above. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^14.2.1→^15.0.0Warning
Some dependencies could not be looked up. Check the Dependency Dashboard for more information.
mathjs Allows Improperly Controlled Modification of Dynamically-Determined Object Attributes
CVE-2026-41139 / GHSA-jvff-x2qm-6286
More information
Details
Impact
This security vulnerability allowed executing arbitrary JavaScript via the expression parser of mathjs. You can be affected when you have an application where users can evaluate arbitrary expressions using the mathjs expression parser.
Patches
The issue was introduced in mathjs
v13.1.0, and patched in mathjsv15.2.0.Workarounds
There is no workaround without upgrading to
v15.2.0.References
You can find out more via the commit fixing this issue: josdejong/mathjs@24d5ee7 (part of PR https://github.com/josdejong/mathjs/pull/3656).
Severity
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HReferences
This data is provided by the GitHub Advisory Database (CC-BY 4.0).
Unsafe object property setter in mathjs
CVE-2026-40897 / GHSA-29qv-4j9f-fjw5
More information
Details
Impact
This security vulnerability allowed executing arbitrary JavaScript via the expression parser of mathjs. You can be affected when you have an application where users can evaluate arbitrary expressions using the mathjs expression parser.
Patches
The issue was introduced in mathjs
v13.1.1, and patched in mathjsv15.2.0.Workarounds
There is no workaround without upgrading to
v15.2.0.References
You can find out more via the commit fixing this issue: josdejong/mathjs@513ab2a (part of PR https://github.com/josdejong/mathjs/pull/3656).
Severity
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HReferences
This data is provided by the GitHub Advisory Database (CC-BY 4.0).
Release Notes
josdejong/mathjs (mathjs)
v15.2.0Compare Source
Ah(#3617). Thanks @adrfantini.numanddenfunctions returning the parts ofa fraction (#3605). Thanks @AnslemHack.
Thanks @NilsDietrich.
via the expression parser. Thanks @CykuTW for finding and reporting them.
v15.1.1Compare Source
compareNatural(#3632). Thanks @Dheemanth07.Thanks @gwhitney.
and add History (#3630). Thanks @Anadian.
setDistinctsorts the elements (see #3602).v15.1.0Compare Source
Thanks @gwhitney.
v15.0.0Compare Source
!!! BE CAREFUL: BREAKING CHANGES !!!
modulus operator (that both use symbol
%), and raise the former (#3432).Thanks @kiprobinsonknack.
#3455). Thanks @gwhitney and @Delaney.
Thanks @dvd101x.
%as unary only when not followed by a term (#3505).Thanks @gwhitney.
sizeto always return anArray(#3535).SparseMatrix(#3536).v14.9.1Compare Source
v14.8.2underv14.9.0.v14.9.0Compare Source
mapwith multiple arguments (#3526).Thanks @dvd101x.
(#3548). Thanks @dvd101x.
v14.8.2Compare Source
mapwhen passing a unaryfunction (#3546). Thanks @dvd101x.
abs(complex)which returns anumber(#3543). Thanks @joshkel.
ctranspose(#3545). Thanks @joshkel.v14.8.1Compare Source
configprinting a warning when using{ number: 'bigint' }(#3540).
v14.8.0Compare Source
??in theexpression parser (#3497). Thanks @ikemHood.
v14.7.0Compare Source
DenseMatrixsymbol iterator (#3521). Thanks @dvd101x.Parser, fixing #3509 (#3525).missing from the generated function overview.
printTransformDependenciesnot exported in the type definitions.diff(#3520). Thanks @dodokw.range.by removing
core-js(#3524).v14.6.0Compare Source
toBest(unit, unitList, offset), and correspondingmethod
unit.toBest(...)(#3484). Thanks @Mundi93, @EliaAlesiani, and@HeavyRainLQ.
signof zero not returning zero in case of a fraction (#3513).Thanks @kyle-compute.
Configuration
📅 Schedule: (in timezone America/Vancouver)
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.
Thanks for the PR!
Deployments, as required, will be available below:
Please create PRs in draft mode. Mark as ready to enable:
After merge, new images are deployed in: