CVE-2023-23913 Affecting rails package, versions <2:6.1.7.3+dfsg-1


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.04% (10th 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-DEBIAN14-RAILS-11766378
  • published10 Aug 2025
  • disclosed9 Jan 2025

Introduced: 9 Jan 2025

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

How to fix?

Upgrade Debian:14 rails to version 2:6.1.7.3+dfsg-1 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:14 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 Base Scores

version 3.1