Cross-site scripting in Xapian xapian-core

Published: 2018-07-11 12:45:10
Severity Low
Patch available YES
Number of vulnerabilities 1
CVE ID CVE-2018-0499
CVSSv3 5.3 [CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N/E:U/RL:O/RC:C]
CWE ID CWE-79
Exploitation vector Network
Public exploit Not available
Vulnerable software xapian-core
Vulnerable software versions xapian-core 1.4.2
xapian-core 1.2.20.1
xapian-core 1.2.19.1
Show more
Vendor URL The Xapian Project

Security Advisory

1) Cross-site scripting

Description

The disclosed vulnerability allows a remote attacker to perform cross-site scripting (XSS) attacks.

The vulnerability exists due to insufficient HTML escaping by the Xapian::MSet::snippet() function, as defined in the queryparser/termgenerator_internal.cc code. A remote attacker can trick the victim to follow a specially crafted link and execute arbitrary HTML and script code in user's browser in context of vulnerable website.

Successful exploitation of this vulnerability may allow a remote attacker to steal potentially sensitive information, change appearance of the web page, perform phishing and drive-by-download attacks.

Remediation

Update to version 1.4.6.

External links

https://trac.xapian.org/wiki/SecurityFixes/2018-07-02#CVE-2018-0499IncompleteHTMLescapingbyXapian::M...

Back to List