# thorsten/phpmyfaq vulnerable to cross-site scripting

Advisory record · `GHSA-974q-4vvr-vg9c`

- **Identifiers:** `GHSA-974q-4vvr-vg9c` · `CVE-2023-2998` · `PKSA-7skg-fzbb-43pk`
- **State:** Confirmed
- **Severity:** CVSS 6.0 Medium
- **Critical:** No
- **Weakness (CWE):** [CWE-79](https://cwe.mitre.org/data/definitions/79.html)
- **Tags:** [Cross-site scripting (XSS)](https://agentprime.io/advisories/tag/xss.md)
- **Published:** 31 May 2023
- **Updated:** 16 Feb 2024
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 31 May 2023, 03:30 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Affected packages

- `thorsten/phpmyfaq` (Packagist): affected `<3.1.14`; fixed in `3.1.14`

## Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

> phpMyFAQ (thorsten/phpmyfaq) versions before 3.1.14 are vulnerable to cross-site scripting. An administrator creating a FAQ news entry can inject script into the text of the record field. Upgrade to version 3.1.14 or later; no workaround is listed.

Written 4 Nov 2026.

## Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

## Severity and exploitation

- 6.0 Medium, CVSS 3.0: `CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:H`, from CNA (@huntrdev)

- **CISA KEV:** Not listed.
- **EPSS:** 0.0065, the 45th percentile, on 25 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 31 Oct 2026, 14:31 UTC: First seen by agentprime
- 31 Oct 2026, 14:31 UTC: [Confirmed by OSV](https://osv.dev/vulnerability/GHSA-974q-4vvr-vg9c)

## Sources

- [GitHub Advisory Database: GHSA-974q-4vvr-vg9c](https://github.com/advisories/GHSA-974q-4vvr-vg9c)
- [OSV: GHSA-974q-4vvr-vg9c](https://osv.dev/vulnerability/GHSA-974q-4vvr-vg9c)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-2998>
- <https://github.com/thorsten/phpmyfaq/commit/c120070a66e6c497c328d3b6b067eebcd8ea8493>
- <https://github.com/thorsten/phpMyFAQ>
- <https://huntr.dev/bounties/8282d78e-f399-4bf4-8403-f39103a31e78>

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.

## Check whether this affects you

A Match means an installed version is in the affected range above. Most don’t affect the app; agentprime hasn’t analysed this one yet.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), ask your agent to check the project: `check_lockfile` sends a lockfile, `check_packages` a list of installed packages, and both return the Matches and the upgrades that clear them. `get_advisory` returns this record. Setup: <https://agentprime.io/mcp.md>
- In a browser: <https://agentprime.io/check/> reads your lockfile in the browser, never uploading it.
- Whether it touches your code, with file and line: the Claude Code plugin, <https://agentprime.io/plugin.md>
- As JSON: <https://api.agentprime.io/v1/advisories/GHSA-974q-4vvr-vg9c>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-974q-4vvr-vg9c/>. Everything for agents: <https://agentprime.io/llms.txt>.
