CVE-2024-26143

Source
https://nvd.nist.gov/vuln/detail/CVE-2024-26143
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-26143.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-26143
Aliases
Downstream
Related
Published
2024-02-27T15:33:54.643Z
Modified
2025-11-27T02:33:14.762447Z
Severity
  • 6.1 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N CVSS Calculator
Summary
Rails Possible XSS Vulnerability in Action Controller
Details

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.

Database specific
{
    "cna_assigner": "GitHub_M",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/blob/cc431b3424123d84bcd7afd4de150b33f117a8ef/cves/2024/26xxx/CVE-2024-26143.json",
    "cwe_ids": [
        "CWE-79"
    ]
}
References

Affected packages

Git / github.com/rails/rails

Affected ranges

Type
GIT
Repo
https://github.com/rails/rails
Events
Database specific
{
    "versions": [
        {
            "introduced": "7.0.0"
        },
        {
            "fixed": "7.0.8.1"
        }
    ]
}
Type
GIT
Repo
https://github.com/rails/rails
Events
Database specific
{
    "versions": [
        {
            "introduced": "7.1.0"
        },
        {
            "fixed": "7.1.3.1"
        }
    ]
}