postcss@8.3.2

Tool for transforming styles with JS plugins

  • latest version

    8.5.16

  • latest non vulnerable version

  • first published

    12 years ago

  • latest version published

    12 days ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the postcss 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
    Cross-site Scripting (XSS)

    postcss is a PostCSS is a tool for transforming styles with JS plugins.

    Affected versions of this package are vulnerable to Cross-site Scripting (XSS) in CSS Stringify Output. An attacker can execute arbitrary JavaScript code in the context of the affected web page by submitting crafted CSS containing </style> sequences that are not properly escaped when embedded within HTML <style> tags.

    How to fix Cross-site Scripting (XSS)?

    Upgrade postcss to version 8.5.10 or higher.

    <8.5.10
    • M
    Improper Input Validation

    postcss is a PostCSS is a tool for transforming styles with JS plugins.

    Affected versions of this package are vulnerable to Improper Input Validation when parsing external Cascading Style Sheets (CSS) with linters using PostCSS. An attacker can cause discrepancies by injecting malicious CSS rules, such as @font-face{ font:(\r/*);}. This vulnerability is because of an insecure regular expression usage in the RE_BAD_BRACKET variable.

    How to fix Improper Input Validation?

    Upgrade postcss to version 8.4.31 or higher.

    <8.4.31