Skip to content
Fencer Intel
medium 6.1

CVE-2018-0499 json

xapian-core Cross-site Scripting vulnerability

published 2018-07-02 8 y ago modified 2026-06-17 4 mo ago also GHSA-7qw4-w7hf-22q3 , EUVD-2022-3053

cvss
6.1
version 3.0, NVD
cisa kev
Not listed
not in CISA's catalog
epss
1.0%
EPSS 1.0% chance of exploitation in 30 days, percentile 64%
public exploits
0
none known

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().

Patch / fix

  • rubygems xapian-core 1.4.6
  • xapian xapian-core 1.4.6
  • xapian-core Debian 14, Debian 13, Debian 12 1.4.6-1

debian advisories DEBIAN-CVE-2018-0499

  • xapian-core Ubuntu 18.04 LTS 1.4.5-1ubuntu0.1

ubuntu advisories UBUNTU-CVE-2018-0499

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • xapian openSUSE Tumbleweed 1.4.18-1.6

opensuse advisories openSUSE-SU-2024:11516-1

  • xapian-core Alpine 3.24, Alpine 3.23, Alpine 3.22 +14 more 1.4.6-r0

alpine advisories ALPINE-CVE-2018-0499

Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2018-0499 updated cvss 6.1

xapian-core: Cross-site-scripting in queryparser/termgenerator_internal.cc

  • Red Hat Enterprise Linux 8 xapian-core, xapian-core-libs
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

1.04% chance of exploitation in the next 30 days, higher than 64% of all scored CVEs (FIRST EPSS, 2026-11-09).

CVSS scores

assigned by version score vector
NVD 3.0 6.1 CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
NVD 2.0 4.3 AV:N/AC:M/Au:N/C:N/I:P/A:N
GitHub 3.0 6.1 CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Affected packages

ecosystem package affected fixed in
rubygems xapian-core
<1.4.6
1.4.6

Affected products

  • n/a Xapian xapian-core before 1.4.6

Classification

Weakness
  • CWE-79 Improper Neutralization of Input During Web Page Generation

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.