Lucene search

K
veracodeVeracode Vulnerability DatabaseVERACODE:47887
HistoryJul 03, 2024 - 8:51 a.m.

Cross-site Scripting (XSS)

2024-07-0308:51:37
Veracode Vulnerability Database
sca.analysiscenter.veracode.com
3
xss
xapian-core
vulnerability
html escaping
mset
snippet
queryparser
termgenerator_internal
attacker
arbitrary scripts
web browser

CVSS2

4.3

Attack Vector

NETWORK

Attack Complexity

MEDIUM

Authentication

NONE

Confidentiality Impact

NONE

Integrity Impact

PARTIAL

Availability Impact

NONE

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

CVSS3

6.1

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

REQUIRED

Scope

CHANGED

Confidentiality Impact

LOW

Integrity Impact

LOW

Availability Impact

NONE

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

AI Score

6.5

Confidence

High

xapian-core is vulnerable to Cross-site Scripting (XSS). The vulnerability is caused due to improper handling of HTML escaping by Xapian::MSet::snippet() in queryparser/termgenerator_internal.cc. This allows an attacker to potentially execute arbitrary scripts in the context of a user’s web browser when the vulnerable snippet functionality is used.

CVSS2

4.3

Attack Vector

NETWORK

Attack Complexity

MEDIUM

Authentication

NONE

Confidentiality Impact

NONE

Integrity Impact

PARTIAL

Availability Impact

NONE

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

CVSS3

6.1

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

REQUIRED

Scope

CHANGED

Confidentiality Impact

LOW

Integrity Impact

LOW

Availability Impact

NONE

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

AI Score

6.5

Confidence

High