CVE-2023-23913 Affecting rails package, versions <2:6.0.3.7+dfsg-2+deb11u2


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.05% (18th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-DEBIAN11-RAILS-3364598
  • published20 Mar 2023
  • disclosed9 Jan 2025

Introduced: 20 Mar 2023

CVE-2023-23913  (opens in a new tab)

How to fix?

Upgrade Debian:11 rails to version 2:6.0.3.7+dfsg-2+deb11u2 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream rails package and not the rails package as distributed by Debian. See How to fix? for Debian:11 relevant fixed versions and status.

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.

CVSS Scores

version 3.1