@orval/core@7.17.2 vulnerabilities

  • latest version

    8.3.0

  • latest non vulnerable version

  • first published

    3 years ago

  • latest version published

    1 days ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the @orval/core package. This does not include vulnerabilities belonging to this package’s dependencies.

    Fix vulnerabilities automatically

    Snyk's AI Trust Platform automatically finds the best upgrade path and integrates with your development workflows. Secure your code at zero cost.

    Fix for free
    VulnerabilityVulnerable Version
    • C
    Arbitrary Command Injection

    Affected versions of this package are vulnerable to Arbitrary Command Injection via the jsStringEscape function. An attacker can execute arbitrary code in generated files by injecting */ sequences that breaks out of JavaScript comment blocks.

    Note: This vulnerability stems from an incomplete fix for CVE-2026-23947

    How to fix Arbitrary Command Injection?

    Upgrade @orval/core to version 7.21.0, 8.2.0 or higher.

    >=7.10.0 <7.21.0>=8.0.0-rc.0 <8.2.0
    • C
    Arbitrary Command Injection

    Affected versions of this package are vulnerable to Arbitrary Command Injection via the getEnumImplementation function. An attacker can execute arbitrary code in environments that consume generated clients by supplying a crafted OpenAPI specification containing malicious content in the x-enumDescriptions field.

    How to fix Arbitrary Command Injection?

    Upgrade @orval/core to version 7.19.0, 8.0.2 or higher.

    >=7.10.0 <7.19.0>=8.0.0-rc.0 <8.0.2