Vulnerability advisory

CVE-2020-15169

Published Updated OSV record ↗

Also known as GHSA-cfjv-5498-mph5

Severity
  • CVSS 3.xCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Affected versions

Repository

Affected commitsFixed by commit
GIT github.com/rails/rails ↗
All commits before 404ad9e8acf8ab45ae2314050131a00e57e63b40404ad9e8acf8ab45ae2314050131a00e57e63b40
Not specified070d4afacd3e9721b7e3a4634e4d026b5fa2c32c
Also listed as affected (50)
  • v5.2.4.3
  • v6.0.3.2
  • v6.0.3.1
  • v6.0.3
  • v5.2.4.2
  • v6.0.3.rc1
  • v5.2.4.1
  • v5.2.4
  • v5.2.4.rc1
  • v6.0.0
  • v6.0.0.rc1
  • v6.0.0.beta2
  • v6.0.0.beta1
  • v5.2.1.rc1
  • v5.2.0.rc1
  • v5.1.0.beta1
  • v5.0.0.beta4
  • v5.0.0.beta2
  • v5.0.0.beta1
  • v4.2.0.beta1
  • v4.0.0.rc1
  • v4.0.0.beta1
  • v3.2.0.rc1
  • v3.1.0.rc1
  • v3.1.0.beta1
  • v3.0.0.beta3
  • v3.0.0.beta.3
  • v2.0.1
  • v2.0.0
  • v2.0.0_RC2
  • v2.0.0_RC1
  • v2.0.0_PR
  • v1.1.1
  • v1.1.0
  • v1.1.0_RC1
  • v0.14.3
  • v0.14.1
  • v0.13.1
  • v0.13.0
  • v0.12.0
  • v0.11.1
  • v0.11.0
  • v0.10.1
  • v0.10.0
  • v0.9.5
  • v0.9.4.1
  • v0.9.4
  • v0.9.3
  • v0.9.2
  • v0.9.1

Description

In Action View before versions 5.2.4.4 and 6.0.3.3 there is a potential Cross-Site Scripting (XSS) vulnerability in Action View's translation helpers. Views that allow the user to control the default (not found) value of the t and translate helpers could be susceptible to XSS attacks. When an HTML-unsafe string is passed as the default for a missing translation key named html or ending in _html, the default string is incorrectly marked as HTML-safe and not escaped. This is patched in versions 6.0.3.3 and 5.2.4.4. A workaround without upgrading is proposed in the source advisory.

References

  • Codex
  • Claude Code
  • VS Code
  • GitHub Copilot
  • Cursor
  • Cline
  • Windsurf
  • Google Anti-gravity
  • OpenCode
  • Pi
  • Gemini CLI
  • Hermes Agent
  • Zed
  • Junie
  • Qwen Code
  • Kiro
  • Kilo Code
  • Factory Droid

Set up GitHits for your agents

Run this command:

<> bash
npx githits@latest init

What happens next:

  1. Opens your browser to authorize GitHits
  2. Asks whether to set up GitHits at the user or project level
  3. Detects your supported AI coding tools
  4. Lets you choose which tools to configure
  5. Configures the selected tools