Vulnerability advisory

CVE-2023-23913

Published Updated OSV record ↗

Also known as GHSA-xp5h-f8jf-rc8q

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

Affected versions

Repository

Affected commitsFixed by commit
GIT github.com/rails/rails ↗
f09dc7c4c2e8b9375345d443c230cb8d78ad6a18 to before 5037a13614d71727af8a175063bcf6ba1a74bdbd5037a13614d71727af8a175063bcf6ba1a74bdbd
Also listed as affected (2)
  • 6.1.7.3
  • 7.0.4.3

Description

There is a potential DOM based cross-site scripting issue in rails-ujs which leverages the Clipboard API to target HTML elements that are assigned the contenteditable attribute. This has the potential to occur when pasting malicious HTML content from the clipboard that includes a data-method, data-remote or data-disable-with attribute.

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