{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2024-26143","id":"CVE-2024-26143","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","descriptionLong":"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.","published":"2024-02-27T15:33:54.643Z","updated":"2026-10-28T02:30:29.174412165Z","reserved":"2024-02-14T17:40:03.688Z","status":"Analyzed","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"GitHub_M"},"metrics":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"GitHub_M"},{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"github.com"},{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"NVD"},{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"OSV"},{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"GitHub"}],"rating":"medium","products":["rails"],"affectedProducts":[{"vendor":"rails","product":"rails","defaultStatus":null,"versions":[{"version":">= 7.0.0, < 7.0.8.1","status":"affected"},{"version":">= 7.1.0, < 7.1.3.1","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"RubyGems","name":"actionpack","purl":"pkg:gem/actionpack","ranges":[">=7.0.0 <7.0.8.1",">=7.1.0 <7.1.3.1"],"fixed":["7.0.8.1","7.1.3.1"],"advisory":"GHSA-9822-6m93-xqf4"},{"ecosystem":"RubyGems","name":"rails","purl":"pkg:gem/rails","ranges":[">=7.0.0 <7.0.8.1",">=7.1.0 <7.1.3.1"],"fixed":["7.0.8.1","7.1.3.1"],"advisory":"GHSA-9822-6m93-xqf4"}],"cwes":["CWE-79"],"aliases":["BIT-rails-2024-26143","GHSA-9822-6m93-xqf4"],"references":[{"url":"https://github.com/rails/rails/security/advisories/GHSA-9822-6m93-xqf4","tags":["x_refsource_CONFIRM","x_transferred","Exploit","Vendor Advisory","advisory","web"]},{"url":"https://github.com/rails/rails/commit/4c83b331092a79d58e4adffe4be5f250fa5782cc","tags":["x_refsource_MISC","x_transferred","Patch","fix","web"]},{"url":"https://github.com/rails/rails/commit/5187a9ef51980ad1b8e81945ebe0462d28f84f9e","tags":["x_refsource_MISC","x_transferred","Patch","fix","web"]},{"url":"https://discuss.rubyonrails.org/t/possible-xss-vulnerability-in-action-controller/84947","tags":["x_refsource_MISC","x_transferred","Exploit","Vendor Advisory","web"]},{"url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/actionpack/CVE-2024-26143.yml","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","advisory","web"]},{"url":"https://security.netapp.com/advisory/ntap-20240510-0004/","tags":["x_transferred","Third Party Advisory","advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/26xxx/CVE-2024-26143.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-26143","tags":["advisory"]},{"url":"https://github.com/rails/rails","tags":["package"]},{"url":"https://security.netapp.com/advisory/ntap-20240510-0004","tags":["web"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.01034,"epssPercentile":0.64537,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2024-26143","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-26143","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2024-26143","ok":true,"note":"2 packages"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-9822-6m93-xqf4","ok":true,"note":"GHSA-9822-6m93-xqf4"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2024-26143","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":["ruby"],"critical":[],"attention":null}