{"id":"CVE-2018-0499","aliases":["GHSA-7qw4-w7hf-22q3"],"kind":"cve","tier":"cold","status":"published","title":"xapian-core Cross-site Scripting vulnerability","description":"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().","ai_summary":null,"severity":"medium","cvss":{"score":6.1,"version":"3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","source":"NVD"},"scores":[{"score":6.1,"version":"3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","source":"nvd"},{"score":4.3,"version":"2.0","vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","source":"nvd"}],"cwe":["CWE-79"],"remote":true,"remote_unauth":true,"epss":{"score":0.01043,"percentile":0.6506,"date":"2026-12-02"},"kev":{"listed":false,"added":null,"due":null,"ransomware":null},"exploit":{"public":false,"exploitdb_ids":[]},"affected":[{"ecosystem":"RubyGems","name":"xapian-core","affected":"< 1.4.6","fixed":["1.4.6"],"source":"osv"}],"affected_products":[{"vendor":"n/a","product":"Xapian xapian-core before 1.4.6","versions":"Xapian xapian-core before 1.4.6","source":"cvelist"}],"ai_versions":null,"mitigation":"Upgrade xapian-core to 1.4.6 or later.","technologies":[],"references":[{"url":"https://usn.ubuntu.com/3709-1/","kind":"vendor"},{"url":"https://lists.xapian.org/pipermail/xapian-discuss/2018-July/009652.html","kind":"vendor"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-0499","kind":"vendor"},{"url":"https://trac.xapian.org/wiki/SecurityFixes/2018-07-02","kind":"patch"},{"url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/xapian-core/CVE-2018-0499.yml","kind":"other"},{"url":"https://usn.ubuntu.com/3709-1","kind":"other"}],"workarounds":null,"vendors":["canonical","xapian"],"products":["ubuntu_linux","xapian xapian-core before 1.4.6","xapian-core"],"cpes":["cpe:2.3:a:xapian:xapian-core:*:*:*:*:*:*:*:*","cpe:2.3:o:canonical:ubuntu_linux:17.10:*:*:*:*:*:*:*","cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:*"],"published_at":"2018-07-02T12:00:00.000Z","modified_at":"2026-06-17T01:30:59.487Z","promoted_at":null,"attribution":[{"source":"CVE Program","text":"CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation.","url":"https://www.cve.org/Legal/TermsOfUse"},{"source":"NVD","text":"This product uses data from the NVD API but is not endorsed or certified by the NVD.","url":"https://nvd.nist.gov/vuln/detail/CVE-2018-0499"},{"source":"OSV","text":"CC-BY 4.0","url":"https://osv.dev/vulnerability/GHSA-7qw4-w7hf-22q3","license_url":"https://creativecommons.org/licenses/by/4.0/"}],"links":{"html":"https://flawdb.com/CVE-2018-0499","markdown":"https://flawdb.com/CVE-2018-0499.md","json":"https://flawdb.com/api/v1/entries/CVE-2018-0499"}}