SecurityContext

CVE-2022-25758: scss-tokenizer - Regular Expression Denial of Service

  • Cve: CVE-2022-25758
  • Name: scss-tokenizer - Regular Expression Denial of Service
  • Description: All versions of package scss-tokenizer are vulnerable to Regular Expression Denial of Service (ReDoS) via the loadAnnotation() function, due to the usage of insecure regex.
  • Impact: Attackers can cause denial of service by exploiting the insecure regex, leading to application unavailability.
  • Remediation: Update to the latest version of scss-tokenizer that addresses the regex vulnerability or apply patches to fix the insecure regex usage.
  • Vulnerability type: misconfiguration
  • Vulnerability impact: denial_of_service
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 7.5
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
  • Epss score: 0.02175
  • Epss percentile: 0.8278
  • Assignee: [email protected]
  • Published at: 2022-07-01T20:15:07Z
  • Age in days: 1607
  • Modified at: 2026-06-17T04:34:13Z
  • Public exploits total: 3
  • References total: 3
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2022-25758
  • Nvd status: modified
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits capped, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-1333Inefficient Regular Expression Complexity

Public exploits

Same in every row:

  • Source: nvd
  • Added date: 2022-07-01
Url
https://github.com/sasstools/scss-tokenizer/issues/45
https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2936782
https://snyk.io/vuln/SNYK-JS-SCSSTOKENIZER-2339884

References

Same in every row:

  • Source: nvd
UrlTags
https://github.com/sasstools/scss-tokenizer/issues/45Exploit, Issue Tracking, Third Party Advisory
https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2936782Exploit, Third Party Advisory
https://snyk.io/vuln/SNYK-JS-SCSSTOKENIZER-2339884Exploit, Third Party Advisory

Products

ProductAffectedPlatform boundSourcesUrl
scss-tokenizer_project:scss-tokenizerall versionsnonvd/v1/products/scss-tokenizer_project/scss-tokenizer

Projects

RepositoryLink kindsIndexedUrl
sasstools/scss-tokenizercommit, issues, package, pullyes/v1/repositories/sasstools/scss-tokenizer

Index

  • Repositories: 61
  • Repositories high signal: 9
  • Packages: 1

Exploitation

  • Public exploit: yes
  • Public exploit count: 3
  • Public exploit first date: 2022-07-01
  • Remote: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts