CVE-2024-26143

NameCVE-2024-26143
DescriptionRails is a web-application framework. There is a possible XSS vulnerability when using the translation helpers in Action Controller. Applications using translation methods like translate, or t on a controller, with a key ending in "_html", a :default key which contains untrusted user input, and the resulting string is used in a view, may be susceptible to an XSS vulnerability. The vulnerability is fixed in 7.1.3.1 and 7.0.8.1.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
rails (PTS)jessie, jessie (lts)2:4.1.8-1+deb8u9fixed
stretch (security), stretch (lts), stretch2:4.2.7.1-1+deb9u5fixed
buster (security), buster, buster (lts)2:5.2.2.1+dfsg-1+deb10u5fixed
bullseye (security), bullseye2:6.0.3.7+dfsg-2+deb11u2fixed
bookworm2:6.1.7.3+dfsg-2~deb12u1fixed
sid, trixie2:6.1.7.3+dfsg-4fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
railssource(unstable)(not affected)

Notes

- rails <not-affected> (Vulnerable code not present)
https://github.com/rails/rails/security/advisories/GHSA-9822-6m93-xqf4
https://github.com/rails/rails/commit/4c83b331092a79d58e4adffe4be5f250fa5782cc (v7.0.8.1)
https://github.com/rails/rails/commit/5187a9ef51980ad1b8e81945ebe0462d28f84f9e (v7.1.3.1)

Search for package or bug name: Reporting problems