Lucene search

K
nvd[email protected]NVD:CVE-2021-25987
HistoryNov 30, 2021 - 2:15 p.m.

CVE-2021-25987

2021-11-3014:15:07
CWE-79
web.nvd.nist.gov
1
hexo
versions
0.0.1
5.4.0
stored xss
post body
tags
sanitize
malicious javascript
web page generation
local unprivileged attacker
inject arbitrary code

CVSS2

1.9

Attack Vector

LOCAL

Attack Complexity

MEDIUM

Authentication

NONE

Confidentiality Impact

NONE

Integrity Impact

PARTIAL

Availability Impact

NONE

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

CVSS3

4.6

Attack Vector

LOCAL

Attack Complexity

LOW

Privileges Required

LOW

User Interaction

REQUIRED

Scope

CHANGED

Confidentiality Impact

LOW

Integrity Impact

LOW

Availability Impact

NONE

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

EPSS

0

Percentile

12.6%

Hexo versions 0.0.1 to 5.4.0 are vulnerable against stored XSS. The post “body” and “tags” don’t sanitize malicious javascript during web page generation. Local unprivileged attacker can inject arbitrary code.

Affected configurations

Nvd
Node
hexohexoRange0.0.15.4.0node.js
VendorProductVersionCPE
hexohexo*cpe:2.3:a:hexo:hexo:*:*:*:*:*:node.js:*:*

CVSS2

1.9

Attack Vector

LOCAL

Attack Complexity

MEDIUM

Authentication

NONE

Confidentiality Impact

NONE

Integrity Impact

PARTIAL

Availability Impact

NONE

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

CVSS3

4.6

Attack Vector

LOCAL

Attack Complexity

LOW

Privileges Required

LOW

User Interaction

REQUIRED

Scope

CHANGED

Confidentiality Impact

LOW

Integrity Impact

LOW

Availability Impact

NONE

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

EPSS

0

Percentile

12.6%

Related for NVD:CVE-2021-25987