CVE-2018-0499Xapian-core
Medium 6.1 No auth needed
Follow: this CVE · Xapian · Xapian-core We alert you by email or Slack (account required).
- Priority
- 52
- CVSS 3.0
- 6.1
- EPSS
- 1.0% probability of exploitation in 30 days · percentile 63
- Auth required
- No
- Published
- Jul 2, 2018
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-79
- Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
What happens
A cross-site scripting vulnerability in queryparser/termgenerator_internal.cc in Xapian xapian-core before 1.4.6 exists due to incomplete HTML escaping by Xapian::MSet::snippet().
What to do
- Apply the vendor's security update for Xapian-core.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| RubyGems | xapian-core |
< 1.4.6 |
1.4.6 |
gem "xapian-core", ">= 1.4.6" |
Per OSV / GitHub Advisories (GHSA-7qw4-w7hf-22q3). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| xapian | xapian-core | < 1.4.6 |
| canonical | ubuntu_linux | 17.10 |
| canonical | ubuntu_linux | 18.04 |
Official sources
References
Links published by the sources. Open them with care.
- lists.xapian.org Mailing List Vendor Advisory
- trac.xapian.org Patch Vendor Advisory
- usn.ubuntu.com Third Party Advisory