CVE-2018-6341

Source
https://cve.org/CVERecord?id=CVE-2018-6341
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-6341.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2018-6341
Aliases
Published
2018-12-31T22:29:00.387Z
Modified
2026-03-14T09:30:17.677423Z
Severity
  • 6.1 (Medium) CVSS_V3 - CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N CVSS Calculator
Summary
[none]
Details

React applications which rendered to HTML using the ReactDOMServer API were not escaping user-supplied attribute names at render-time. That lack of escaping could lead to a cross-site scripting vulnerability. This issue affected minor releases 16.0.x, 16.1.x, 16.2.x, 16.3.x, and 16.4.x. It was fixed in 16.0.1, 16.1.2, 16.2.1, 16.3.3, and 16.4.2.

References

Affected packages

Git / github.com/facebook/react

Affected ranges

Type
GIT
Repo
https://github.com/facebook/react
Events
Database specific
{
    "versions": [
        {
            "introduced": "16.4.0"
        },
        {
            "fixed": "16.4.2"
        }
    ]
}

Affected versions

v16.*
v16.4.0
v16.4.1

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-6341.json"
unresolved_ranges
[
    {
        "events": [
            {
                "introduced": "16.0.0"
            },
            {
                "fixed": "16.0.1"
            }
        ]
    },
    {
        "events": [
            {
                "introduced": "16.1.0"
            },
            {
                "fixed": "16.1.2"
            }
        ]
    },
    {
        "events": [
            {
                "introduced": "16.2.0"
            },
            {
                "fixed": "16.2.1"
            }
        ]
    },
    {
        "events": [
            {
                "introduced": "16.3.0"
            },
            {
                "fixed": "16.3.3"
            }
        ]
    }
]