# Reflected XSS in querystring parameters

Advisory record · `GHSA-vvxf-r4vm-2vm6`

- **Identifiers:** `GHSA-vvxf-r4vm-2vm6` · `CVE-2022-38462` · `PKSA-w2s3-shwy-3fdb`
- **State:** Confirmed
- **Severity:** CVSS 6.1 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:** 21 Nov 2022
- **Updated:** 29 Apr 2025
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 21 Nov 2022, 23:59 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Affected packages

- `silverstripe/framework` (Packagist): affected `>=4.0.0, <4.11.13`; fixed in `4.11.13`

## Machine-written summary

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

> Silverstripe framework versions 4.0.0 up to but not including 4.11.13 are vulnerable to reflected cross-site scripting through crafted return URLs on the /dev/build or /Security/login pages. An attacker would need to get a user to follow a malicious link, and the issue only applies when PHP warnings are shown in the browser, which is the case when SS_ENVIRONMENT_TYPE is set to dev. Upgrade to silverstripe/framework 4.11.13 or later, and set SS_ENVIRONMENT_TYPE to live on production sites.

Written 3 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.1 Medium, CVSS 3.1: `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`, from GitHub Advisory Database

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

## Timeline

- 31 Oct 2026, 14:27 UTC: First seen by agentprime
- 31 Oct 2026, 14:27 UTC: [Confirmed by OSV](https://osv.dev/vulnerability/GHSA-vvxf-r4vm-2vm6)

## Sources

- [GitHub Advisory Database: GHSA-vvxf-r4vm-2vm6](https://github.com/advisories/GHSA-vvxf-r4vm-2vm6)
- [OSV: GHSA-vvxf-r4vm-2vm6](https://osv.dev/vulnerability/GHSA-vvxf-r4vm-2vm6)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-38462>
- <https://forum.silverstripe.org/c/releases>
- <https://github.com/FriendsOfPHP/security-advisories/blob/master/silverstripe/framework/CVE-2022-38462.yaml>
- <https://www.silverstripe.org/blog/tag/release>
- <https://www.silverstripe.org/download/security-releases>
- <https://www.silverstripe.org/download/security-releases/cve-2022-38462>

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-vvxf-r4vm-2vm6>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-vvxf-r4vm-2vm6/>. Everything for agents: <https://agentprime.io/llms.txt>.
