Lucene search

K
githubGitHub Advisory DatabaseGHSA-RM97-X556-Q36H
HistoryFeb 24, 2024 - 6:30 a.m.

sanitize-html Information Exposure vulnerability

2024-02-2406:30:17
CWE-200
GitHub Advisory Database
github.com
8
sanitize-html
information exposure
vulnerability
backend
style attribute
files enumeration
server details

5.3 Medium

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

LOW

Integrity Impact

NONE

Availability Impact

NONE

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

6.9 Medium

AI Score

Confidence

High

0.0004 Low

EPSS

Percentile

13.1%

Versions of the package sanitize-html before 2.12.1 are vulnerable to Information Exposure when used on the backend and with the style attribute allowed, allowing enumeration of files in the system (including project dependencies). An attacker could exploit this vulnerability to gather details about the file system structure and dependencies of the targeted server.

Affected configurations

Vulners
Node
sanitizehtmlRange<2.12.1
CPENameOperatorVersion
sanitize-htmllt2.12.1

5.3 Medium

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

LOW

Integrity Impact

NONE

Availability Impact

NONE

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

6.9 Medium

AI Score

Confidence

High

0.0004 Low

EPSS

Percentile

13.1%