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.
Product status
7.0.4.3 (custom) before 7.0.4.3
5.1.0 (custom) before 5.1.0
References
bugs.debian.org/cgi-bin/bugreport.cgi?bug=1033263
discuss.rubyonrails.org/...ntenteditable-html-elements/82468
github.com/...ommit/5037a13614d71727af8a175063bcf6ba1a74bdbd
security.netapp.com/advisory/ntap-20240605-0007/
www.debian.org/security/2023/dsa-5389