Skip to main content
← All vulnerabilities
CVE-2023-23913GHSA-XP5H-F8JF-RC8Q

There is a potential DOM based cross-site scripting issue in rails-ujs which leverages the Clipboard API to target HTML elements that are as

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 6.1.7.3, 7.0.4.3
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • Rails rails-ujs

    From 6.1.7.3 · fixed in 6.1.7.3; From 7.0.4.3 · fixed in 7.0.4.3

  • actionviewRubyGems

    From 5.1.0 · fixed in 6.1.7.3

  • actionviewRubyGems

    From 7.0.0 · fixed in 7.0.4.3

References 5

bugs.debian.org

discuss.rubyonrails.org

GitHub · rails/rails

security.netapp.com

debian.org