{"id":"CVE-2024-26143","state":"PUBLISHED","title":"Rails Possible XSS Vulnerability in Action Controller","description":"Rails 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.","publishedAt":"2024-02-27T15:33:54.643Z","updatedAt":"2025-02-13T17:41:06.380Z","severity":{"score":6.1,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","source":"GitHub_M"},"assigner":"GitHub_M","products":["rails rails"],"affected":[{"vendor":"rails","product":"rails","versions":[{"version":">= 7.0.0, < 7.0.8.1","status":"affected"},{"version":">= 7.1.0, < 7.1.3.1","status":"affected"}]}],"references":["https://github.com/rails/rails/security/advisories/GHSA-9822-6m93-xqf4","https://github.com/rails/rails/commit/4c83b331092a79d58e4adffe4be5f250fa5782cc","https://github.com/rails/rails/commit/5187a9ef51980ad1b8e81945ebe0462d28f84f9e","https://discuss.rubyonrails.org/t/possible-xss-vulnerability-in-action-controller/84947","https://github.com/rubysec/ruby-advisory-db/blob/master/gems/actionpack/CVE-2024-26143.yml","https://security.netapp.com/advisory/ntap-20240510-0004/"],"weaknesses":["CWE-79"],"ingestedAt":"2026-10-29T20:07:10.607Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/26xxx/CVE-2024-26143.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2024-26143","state":"PUBLISHED","datePublished":"2024-02-27T15:33:54.643Z","dateUpdated":"2025-02-13T17:41:06.380Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2024-02-14T17:40:03.688Z"},"containers":{"cna":{"title":"Rails Possible XSS Vulnerability in Action Controller","descriptions":[{"lang":"en","value":"Rails 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."}],"affected":[{"vendor":"rails","product":"rails","versions":[{"version":">= 7.0.0, < 7.0.8.1","status":"affected"},{"version":">= 7.1.0, < 7.1.3.1","status":"affected"}]}],"references":[{"url":"https://github.com/rails/rails/security/advisories/GHSA-9822-6m93-xqf4","name":"https://github.com/rails/rails/security/advisories/GHSA-9822-6m93-xqf4","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/rails/rails/commit/4c83b331092a79d58e4adffe4be5f250fa5782cc","name":"https://github.com/rails/rails/commit/4c83b331092a79d58e4adffe4be5f250fa5782cc","tags":["x_refsource_MISC"]},{"url":"https://github.com/rails/rails/commit/5187a9ef51980ad1b8e81945ebe0462d28f84f9e","name":"https://github.com/rails/rails/commit/5187a9ef51980ad1b8e81945ebe0462d28f84f9e","tags":["x_refsource_MISC"]},{"url":"https://discuss.rubyonrails.org/t/possible-xss-vulnerability-in-action-controller/84947","name":"https://discuss.rubyonrails.org/t/possible-xss-vulnerability-in-action-controller/84947","tags":["x_refsource_MISC"]},{"url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/actionpack/CVE-2024-26143.yml","name":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/actionpack/CVE-2024-26143.yml","tags":["x_refsource_MISC"]},{"url":"https://security.netapp.com/advisory/ntap-20240510-0004/"}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":6.1,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"LOW","privilegesRequired":"NONE","scope":"CHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-79","lang":"en","description":"CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2024-06-10T16:11:24.075Z"},"source":{"advisory":"GHSA-9822-6m93-xqf4","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"id":"CVE-2024-26143","role":"CISA Coordinator","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"version":"2.0.3","timestamp":"2024-02-29T18:24:49.795683Z"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-06-04T17:49:16.767Z"}},{"title":"CVE Program Container","references":[{"url":"https://github.com/rails/rails/security/advisories/GHSA-9822-6m93-xqf4","name":"https://github.com/rails/rails/security/advisories/GHSA-9822-6m93-xqf4","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://github.com/rails/rails/commit/4c83b331092a79d58e4adffe4be5f250fa5782cc","name":"https://github.com/rails/rails/commit/4c83b331092a79d58e4adffe4be5f250fa5782cc","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/rails/rails/commit/5187a9ef51980ad1b8e81945ebe0462d28f84f9e","name":"https://github.com/rails/rails/commit/5187a9ef51980ad1b8e81945ebe0462d28f84f9e","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://discuss.rubyonrails.org/t/possible-xss-vulnerability-in-action-controller/84947","name":"https://discuss.rubyonrails.org/t/possible-xss-vulnerability-in-action-controller/84947","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/actionpack/CVE-2024-26143.yml","name":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/actionpack/CVE-2024-26143.yml","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://security.netapp.com/advisory/ntap-20240510-0004/","tags":["x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-01T23:59:32.584Z"}}]}}}