{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.1",
    "cveMetadata": {
        "cveId": "CVE-2024-4439",
        "assignerOrgId": "b15e7b5b-3da4-40ae-a43c-f7aa60e62599",
        "state": "PUBLISHED",
        "assignerShortName": "Wordfence",
        "dateReserved": "2024-05-02T16:33:12.426Z",
        "datePublished": "2024-05-03T05:32:34.988Z",
        "dateUpdated": "2024-08-01T20:40:47.361Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "b15e7b5b-3da4-40ae-a43c-f7aa60e62599",
                "shortName": "Wordfence",
                "dateUpdated": "2024-05-03T05:32:34.988Z"
            },
            "affected": [
                {
                    "vendor": "WordPress Foundation",
                    "product": "WordPress",
                    "versions": [
                        {
                            "version": "6.0",
                            "status": "affected",
                            "lessThanOrEqual": "6.0.7",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.1",
                            "status": "affected",
                            "lessThanOrEqual": "6.1.5",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.2",
                            "status": "affected",
                            "lessThanOrEqual": "6.2.4",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.3",
                            "status": "affected",
                            "lessThanOrEqual": "6.3.3",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.4",
                            "status": "affected",
                            "lessThanOrEqual": "6.4.3",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.5",
                            "status": "affected",
                            "lessThanOrEqual": "6.5.1",
                            "versionType": "semver"
                        }
                    ],
                    "defaultStatus": "unaffected"
                }
            ],
            "descriptions": [
                {
                    "lang": "en",
                    "value": "WordPress Core is vulnerable to Stored Cross-Site Scripting via user display names in the Avatar block in various versions up to 6.5.2 due to insufficient output escaping on the display name. This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. In addition, it also makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that have the comment block present and display the comment author's avatar."
                }
            ],
            "references": [
                {
                    "url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/e363c09a-4381-4b3a-951c-9a0ff5669016?source=cve"
                },
                {
                    "url": "https://wordpress.org/news/2024/04/wordpress-6-5-2-maintenance-and-security-release/"
                },
                {
                    "url": "https://core.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&old=57950%40%2F&new=57950%40%2F&sfp_email=&sfph_mail=#file3"
                },
                {
                    "url": "https://core.trac.wordpress.org/changeset/57951/branches/6.4/src/wp-includes/blocks/avatar.php"
                },
                {
                    "url": "https://www.wordfence.com/blog/2024/04/unauthenticated-stored-cross-site-scripting-vulnerability-patched-in-wordpress-core/"
                }
            ],
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "lang": "en",
                            "description": "CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')"
                        }
                    ]
                }
            ],
            "metrics": [
                {
                    "cvssV3_1": {
                        "version": "3.1",
                        "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N",
                        "baseScore": 7.2,
                        "baseSeverity": "HIGH"
                    }
                }
            ],
            "credits": [
                {
                    "lang": "en",
                    "type": "finder",
                    "value": "John Blackbourn"
                },
                {
                    "lang": "en",
                    "type": "finder",
                    "value": "Matthew Rollings"
                }
            ],
            "timeline": [
                {
                    "time": "2024-04-09T00:00:00.000+00:00",
                    "lang": "en",
                    "value": "Disclosed"
                }
            ]
        },
        "adp": [
            {
                "title": "CISA ADP Vulnrichment",
                "metrics": [
                    {
                        "other": {
                            "type": "ssvc",
                            "content": {
                                "id": "CVE-2024-4439",
                                "role": "CISA Coordinator",
                                "options": [
                                    {
                                        "Exploitation": "none"
                                    },
                                    {
                                        "Automatable": "yes"
                                    },
                                    {
                                        "Technical Impact": "partial"
                                    }
                                ],
                                "version": "2.0.3",
                                "timestamp": "2024-05-09T19:37:57.427844Z"
                            }
                        }
                    }
                ],
                "affected": [
                    {
                        "cpes": [
                            "cpe:2.3:a:wordpress:wordpress:6.0:*:*:*:*:*:*:*"
                        ],
                        "vendor": "wordpress",
                        "product": "wordpress",
                        "versions": [
                            {
                                "status": "affected",
                                "version": "6.0",
                                "versionType": "custom",
                                "lessThanOrEqual": "6.5.1"
                            }
                        ],
                        "defaultStatus": "unknown"
                    }
                ],
                "problemTypes": [
                    {
                        "descriptions": [
                            {
                                "lang": "en",
                                "type": "CWE",
                                "cweId": "CWE-80",
                                "description": "CWE-80 Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS)"
                            }
                        ]
                    }
                ],
                "providerMetadata": {
                    "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
                    "shortName": "CISA-ADP",
                    "dateUpdated": "2024-06-04T17:54:08.655Z"
                }
            },
            {
                "providerMetadata": {
                    "orgId": "af854a3a-2127-422b-91ae-364da2661108",
                    "shortName": "CVE",
                    "dateUpdated": "2024-08-01T20:40:47.361Z"
                },
                "title": "CVE Program Container",
                "references": [
                    {
                        "url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/e363c09a-4381-4b3a-951c-9a0ff5669016?source=cve",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "url": "https://wordpress.org/news/2024/04/wordpress-6-5-2-maintenance-and-security-release/",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "url": "https://core.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&old=57950%40%2F&new=57950%40%2F&sfp_email=&sfph_mail=#file3",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "url": "https://core.trac.wordpress.org/changeset/57951/branches/6.4/src/wp-includes/blocks/avatar.php",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "url": "https://www.wordfence.com/blog/2024/04/unauthenticated-stored-cross-site-scripting-vulnerability-patched-in-wordpress-core/",
                        "tags": [
                            "x_transferred"
                        ]
                    }
                ]
            }
        ]
    }
}