Vulnerabilities

1 via 1 paths

Dependencies

81

Source

GitHub

Commit

master

Find, fix and prevent vulnerabilities in your code.

Severity
  • 1
Status
  • 1
  • 0
  • 0

medium severity

Improper Input Validation

  • Vulnerable module: postcss
  • Introduced through: gulp-sourcemaps@3.0.0

Detailed paths

  • Introduced through: fp-less@electric-eloquence/fp-less#master gulp-sourcemaps@3.0.0 @gulp-sourcemaps/identity-map@2.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