CVE-2022-25758
Regular Expression Denial of Service (ReDoS)
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.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- None
- Integrity
- None
- Availability
- Low
Exploit likelihood
What each source reports
CVE List Score used
5.3
Regular Expression Denial of Service (ReDoS)
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.
- Record
CVE-2022-25758- CVSS 3.1
- 5.3 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L - Updated
- 2026-11-02
EUVDEUVD-2022-6284
5.3
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.
- Record
EUVD-2022-6284- CVSS 3.1
- 5.3 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L - Updated
- 2026-11-03
GitHub AdvisoriesGHSA-7mwh-4pqv-wmr8
7.5
Regular expression denial of service in scss-tokenizer
All versions of the package scss-tokenizer prior to 0.4.3 are vulnerable to Regular Expression Denial of Service (ReDoS) via the loadAnnotation() function, due to the usage of insecure regex.
- Record
GHSA-7mwh-4pqv-wmr8- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Weakness
- CWE-1333
- Updated
- 2026-11-02
NVD
5.3
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.
- Record
CVE-2022-25758- CVSS 3.1
- 5.3 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L - CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - CVSS 2.0
- 5.0 Medium
AV:N/AC:L/Au:N/C:N/I:N/A:P - Weakness
- CWE-1333
- Updated
- 2026-11-02
OSVGHSA-7mwh-4pqv-wmr8
7.5
Regular expression denial of service in scss-tokenizer
All versions of the package scss-tokenizer prior to 0.4.3 are vulnerable to Regular Expression Denial of Service (ReDoS) via the loadAnnotation() function, due to the usage of insecure regex.
- Record
GHSA-7mwh-4pqv-wmr8- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Weakness
- CWE-1333
- Updated
- 2026-11-02
OSVUBUNTU-CVE-2022-25758
5.3
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.
- Record
UBUNTU-CVE-2022-25758- CVSS 3.1
- 5.3 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L - CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVCLSA-2026-1776991068 No score
TuxCare security update for scss-tokenizer (1 CVE)
TuxCare rebuilt scss-tokenizer to address 1 CVE. Fixed in 0.2.3-tuxcare.1.
- Record
CLSA-2026-1776991068- Updated
- 2026-11-02
OSVCLSA-2026-1788167387 No score
TuxCare security update for scss-tokenizer (1 CVE)
TuxCare rebuilt scss-tokenizer to address 1 CVE. Fixed in 0.3.0-tuxcare.1.
- Record
CLSA-2026-1788167387- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
scss-tokenizernpm |
through 0.4.2 | 0.4.3 |
scss-tokenizerTuxCare:npm |
0.2.3-tuxcare.0 up to 0.2.3-tuxcare.1, plus listed versions 0.2.3 |
0.2.3-tuxcare.1 |
scss-tokenizerTuxCare:npm |
0.3.0-tuxcare.0 up to 0.3.0-tuxcare.1, plus listed versions 0.3.0 |
0.3.0-tuxcare.1 |
scss-tokenizernpm |
before 0.4.3 | 0.4.3 |
node-node-sassUbuntu:20.04:LTS |
All versions, plus listed versions 4.12.0-24.13.1-14.13.1-3 |
None known |
node-node-sassUbuntu:22.04:LTS |
All versions, plus listed versions 4.14.1+git20200512.e1fc158+dfsg-44.14.1+git20200512.e1fc158+dfsg-67.0.1+git20211229.3bb51da+dfsg-1 |
None known |
node-node-sassUbuntu:24.04:LTS |
All versions, plus listed versions 7.0.3+git20221109.ee13eb9+dfsg-29.0.0+git20240131.6081731+dfsg-1 |
None known |
node-node-sassUbuntu:25.10 |
All versions, plus listed versions 9.0.0+git20240131.6081731+dfsg-3 |
None known |
node-node-sassUbuntu:26.10 |
All versions, plus listed versions 9.0.0+git20240724.107ded9+dfsg-1build19.0.0+git20240724.107ded9+dfsg-1build2 |
None known |
node-node-sassUbuntu:26.04:LTS |
All versions, plus listed versions 9.0.0+git20240131.6081731+dfsg-39.0.0+git20240724.107ded9+dfsg-1build1 |
None known |
History
| Recorded | Changed | Sources |
|---|---|---|
| aliases, published | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2022-25758 is a medium vulnerability (CVSS 5.3) in Scss-tokenizer Project Scss-tokenizer, published July 1, 2022. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 2.14%, the 82nd percentile. Fixed in scss-tokenizer 0.4.3.