{"id":"GHSA-7qw4-w7hf-22q3","summary":"xapian-core Cross-site Scripting vulnerability","details":"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()`.","aliases":["CVE-2018-0499"],"modified":"2024-02-20T05:31:26.394079Z","published":"2022-05-14T03:03:56Z","database_specific":{"severity":"MODERATE","github_reviewed":true,"github_reviewed_at":"2023-01-27T00:12:35Z","nvd_published_at":"2018-07-02T12:29:00Z","cwe_ids":["CWE-79"]},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2018-0499"},{"type":"WEB","url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/xapian-core/CVE-2018-0499.yml"},{"type":"WEB","url":"https://lists.xapian.org/pipermail/xapian-discuss/2018-July/009652.html"},{"type":"WEB","url":"https://trac.xapian.org/wiki/SecurityFixes/2018-07-02"},{"type":"WEB","url":"https://usn.ubuntu.com/3709-1"}],"affected":[{"package":{"name":"xapian-core","ecosystem":"RubyGems","purl":"pkg:gem/xapian-core"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.4.6"}]}],"versions":["1.2.19.1","1.2.20.2","1.2.3","1.2.3.1","1.2.7.1","1.4.2"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-7qw4-w7hf-22q3/GHSA-7qw4-w7hf-22q3.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"}]}