# Cross site scripting vulnerability in ActionView

Advisory record · `GHSA-65cv-r6x7-79hv`

- **Identifiers:** `GHSA-65cv-r6x7-79hv` · `CVE-2020-5267`
- **State:** Confirmed
- **Severity:** CVSS 4.0 Medium
- **Critical:** No
- **Weakness (CWE):** [CWE-80](https://cwe.mitre.org/data/definitions/80.html)
- **Tags:** [Cross-site scripting (XSS)](https://agentprime.io/advisories/tag/xss.md)
- **Published:** 19 Mar 2020
- **Updated:** 8 Jul 2026
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 19 Mar 2020, 17:30 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Affected packages

- `actionview` (RubyGems): affected `<5.2.4.2 || >=6.0.0, <6.0.2.2`; fixed in `5.2.4.2`, `6.0.2.2`

## 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

- 4.0 Medium, CVSS 3.1: `CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:L/I:L/A:N`, from CNA (GitHub_M)

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

## Timeline

- 19 Mar 2020, 16:55 UTC: [Published by the maintainers as a GitHub repository advisory](https://github.com/rails/rails/security/advisories/GHSA-65cv-r6x7-79hv)

## Sources

- [GitHub Advisory Database: GHSA-65cv-r6x7-79hv](https://github.com/advisories/GHSA-65cv-r6x7-79hv)
- [OSV: GHSA-65cv-r6x7-79hv](https://osv.dev/vulnerability/GHSA-65cv-r6x7-79hv)
- <https://github.com/rails/rails/security/advisories/GHSA-65cv-r6x7-79hv>
- <https://nvd.nist.gov/vuln/detail/CVE-2020-5267>
- <https://github.com/rails/rails/commit/033a738817abd6e446e1b320cb7d1a5c15224e9a>
- <https://github.com/rubysec/ruby-advisory-db/blob/master/gems/actionview/CVE-2020-5267.yml>
- <https://groups.google.com/forum/#!topic/rubyonrails-security/55reWMM_Pg8>
- <https://lists.debian.org/debian-lts-announce/2020/03/msg00022.html>
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/XJ7NUWXAEVRQCROIIBV4C6WXO6IR3KSB>
- <http://lists.opensuse.org/opensuse-security-announce/2020-05/msg00019.html>
- <http://www.openwall.com/lists/oss-security/2020/03/19/1>

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-65cv-r6x7-79hv>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-65cv-r6x7-79hv/>. Everything for agents: <https://agentprime.io/llms.txt>.
