CVE-2020-5267

Source
https://cve.org/CVERecord?id=CVE-2020-5267
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-5267.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2020-5267
Aliases
Downstream
Related
Published
2020-03-19T18:15:16.023Z
Modified
2026-07-08T06:26:58.540120139Z
Severity
  • 4.8 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N CVSS Calculator
Summary
[none]
Details

In ActionView before versions 6.0.2.2 and 5.2.4.2, there is a possible XSS vulnerability in ActionView's JavaScript literal escape helpers. Views that use the j or escape_javascript methods may be susceptible to XSS attacks. The issue is fixed in versions 6.0.2.2 and 5.2.4.2.

Database specific
{
    "unresolved_ranges": [
        {
            "extracted_events": [
                {
                    "introduced": "33"
                },
                {
                    "last_affected": "33"
                }
            ],
            "cpes": [
                "cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:*"
            ],
            "vendor_product": "fedoraproject:fedora",
            "source": "CPE_STRING"
        },
        {
            "source": "CPE_STRING",
            "cpes": [
                "cpe:2.3:o:opensuse:leap:15.1:*:*:*:*:*:*:*"
            ],
            "vendor_product": "opensuse:leap",
            "extracted_events": [
                {
                    "introduced": "15.1"
                },
                {
                    "last_affected": "15.1"
                }
            ]
        }
    ]
}
References

Affected packages

Git / github.com/rails/rails

Affected ranges

Type
GIT
Repo
https://github.com/rails/rails
Events
Database specific
{
    "cpe": [
        "cpe:2.3:a:rubyonrails:actionview:*:*:*:*:*:*:*:*",
        "cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*"
    ],
    "source": [
        "CPE_RANGE",
        "CPE_STRING",
        "REFERENCES"
    ],
    "extracted_events": [
        {
            "introduced": "0"
        },
        {
            "fixed": "5.2.4.2"
        },
        {
            "introduced": "6.0.0"
        },
        {
            "fixed": "6.0.2.2"
        },
        {
            "introduced": "8.0"
        },
        {
            "last_affected": "8.0"
        }
    ]
}

Affected versions

8.*
8.0
v0.*
v0.10.0
v0.10.1
v0.11.0
v0.11.1
v0.12.0
v0.13.0
v0.13.1
v0.14.1
v0.14.3
v0.9.1
v0.9.2
v0.9.3
v0.9.4
v0.9.4.1
v0.9.5
v1.*
v1.1.0
v1.1.0_RC1
v1.1.1
v2.*
v2.0.0
v2.0.0_PR
v2.0.0_RC1
v2.0.0_RC2
v2.0.1
v3.*
v3.0.0.beta.3
v3.0.0.beta3
v3.1.0.beta1
v3.1.0.rc1
v3.2.0.rc1
v4.*
v4.0.0.beta1
v4.0.0.rc1
v4.2.0.beta1
v5.*
v5.0.0.beta1
v5.0.0.beta2
v5.0.0.beta4
v5.1.0.beta1
v5.2.0.rc1
v5.2.1.rc1
v5.2.4
v5.2.4.1
v5.2.4.rc1
v6.*
v6.0.0
v6.0.0.beta1
v6.0.0.beta2
v6.0.2
v6.0.2.1
v6.0.2.rc1
v6.0.2.rc2
v8.*
v8.0.0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-5267.json"