Skip to content

Vulnerability in function-plot project #369

@ankitdn

Description

@ankitdn

While working on function-plot project, I reviewed the dependency manifest and found that it uses a vulnerable version of math-codegen. During analysis, I discovered that user input passed to the cg.parse() function is not properly sanitized and is directly embedded into a new Function() call. This behavior allows attackers to inject arbitrary JavaScript code, leading to remote code execution (RCE) if user-controlled input is evaluated.

CVE Report
CVE Link

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions