CVE-2018-0499 — Vulnerability in xapian-core — CVE Details
MEDIUM
xapian-core Cross-site Scripting vulnerability
Published May 14, 2022Updated February 20, 2024Source: osv
Summary
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()`.
Advisory Timeline
- First published May 14, 2022 (1612 days ago).
- Last revised February 20, 2024 — 647 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
Bundler
Update xapian-core to 1.4.6 or latergem install xapian-core -v 1.4.6
After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.
Affected Packages (1)
Affects 1 ecosystem: rubygems (1).
| Package | Ecosystem | Affected | Fixed In |
|---|---|---|---|
| xapian-core | rubygems | 1.2.19.1, 1.2.20.2, 1.2.3, 1.2.3.1 (+2 more) | 1.4.6 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-79Cross-site Scripting (XSS)MITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 6.1 score means for each attack dimension.
Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
References
- https://nvd.nist.gov/vuln/detail/CVE-2018-0499ADVISORY
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/xapian-core/CVE-2018-0499.ymlWEB
- https://lists.xapian.org/pipermail/xapian-discuss/2018-July/009652.htmlWEB
- https://trac.xapian.org/wiki/SecurityFixes/2018-07-02WEB
- https://usn.ubuntu.com/3709-1WEB
Frequently Asked Questions
- What is CVE-2018-0499?
- xapian-core Cross-site Scripting vulnerability This vulnerability has been assigned a severity rating of MEDIUM (CVSS score: 6.1/10).
- How do I check if my project is affected by CVE-2018-0499?
- CVE-2018-0499 affects xapian-core. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2018-0499 and 200,000+ other known vulnerabilities.
Severity & Exploitability
CVSS Score
6.1
Exploitation requires specific conditions or has limited impact. Remediate within weeks.
Also Known As
GHSA-7qw4-w7hf-22q3
Related CVEs
- CVE-2026-107715MEDIUM
Mechanize sends credential headers to another host after an HTTP redirect
- CVE-2026-107399MEDIUM
Mechanize sends credential headers to another origin after a meta refresh
Check if you're affected
Scan your dependencies to see if this vulnerability affects your projects.
Scan Your Dependencies