messageformat@2.0.0-beta.4

Intl.MessageFormat / Unicode MessageFormat 2 parser, runtime and polyfill

  • latest version

    4.0.0

  • latest non vulnerable version

  • first published

    14 years ago

  • latest version published

    4 months ago

  • licenses detected

    • >=0.3.0-0 <4.0.0-0
  • Direct Vulnerabilities

    Known vulnerabilities in the messageformat 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
    • M
    Prototype Pollution

    messageformat is an Intl.MessageFormat / Unicode MessageFormat 2 parser, runtime and polyfill

    Affected versions of this package are vulnerable to Prototype Pollution via improper handling of message key paths containing special characters in the process when processing nested message keys. An attacker can modify the JavaScript Object prototype by injecting properties into the global object prototype through specially crafted message input, potentially causing denial of service or other unintended behaviors.

    How to fix Prototype Pollution?

    Upgrade messageformat to version 3.0.0-beta.0 or higher.

    <3.0.0-beta.0