Lucene search

K
githubGitHub Advisory DatabaseGHSA-PHRQ-V4Q2-HMQ6
HistoryMar 26, 2022 - 12:15 a.m.

Sabberworm PHP CSS Parser Code injection vulnerability in allSelectors()

2022-03-2600:15:22
CWE-20
GitHub Advisory Database
github.com
22

7.5 High

CVSS2

Attack Vector

NETWORK

Attack Complexity

LOW

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

PARTIAL

AV:N/AC:L/Au:N/C:P/I:P/A:P

9.8 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

0.015 Low

EPSS

Percentile

87.1%

Sabberworm PHP CSS Parser before 8.3.1 calls eval on uncontrolled data, possibly leading to remote code execution if the function allSelectors() or getSelectorsBySpecificity() is called with input from an attacker.

Affected configurations

Vulners
Node
sabberwormphp_css_parserRange<1.0.1
OR
sabberwormphp_css_parserRange<2.0.1
OR
sabberwormphp_css_parserRange<3.0.1
OR
sabberwormphp_css_parserRange<4.0.1
OR
sabberwormphp_css_parserRange<5.0.9
OR
sabberwormphp_css_parserRange<5.1.3
OR
sabberwormphp_css_parserRange<5.2.1
OR
sabberwormphp_css_parserRange<6.0.2
OR
sabberwormphp_css_parserRange<7.0.4
OR
sabberwormphp_css_parserRange<8.0.1
OR
sabberwormphp_css_parserRange<8.1.1
OR
sabberwormphp_css_parserRange<8.2.1
OR
sabberwormphp_css_parserRange<8.3.1

7.5 High

CVSS2

Attack Vector

NETWORK

Attack Complexity

LOW

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

PARTIAL

AV:N/AC:L/Au:N/C:P/I:P/A:P

9.8 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

0.015 Low

EPSS

Percentile

87.1%