Vulnerabilities

1 via 2 paths

Dependencies

13

Source

GitHub

Commit

a37cd8e4

Find, fix and prevent vulnerabilities in your code.

Severity
  • 1
Status
  • 1
  • 0
  • 0

medium severity

Improper Input Validation

  • Vulnerable module: postcss
  • Introduced through: stylelint-order@4.1.0

Detailed paths

  • Introduced through: @thedrawingroom/stylelint-config@thedrawingroom/stylelint-config#a37cd8e48ca53787d71bfa7830c76024aafd03a4 stylelint-order@4.1.0 postcss@7.0.39
    Remediation: Upgrade to stylelint-order@5.0.0.
  • Introduced through: @thedrawingroom/stylelint-config@thedrawingroom/stylelint-config#a37cd8e48ca53787d71bfa7830c76024aafd03a4 stylelint-order@4.1.0 postcss-sorting@5.0.1 postcss@7.0.39

Overview

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.

Remediation

Upgrade postcss to version 8.4.31 or higher.

References