CVE-2024-6307

Source
https://cve.org/CVERecord?id=CVE-2024-6307
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-6307.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-6307
Aliases
Downstream
Published
2024-06-25T11:09:23Z
Modified
2026-10-06T02:32:00Z
Severity
  • 6.4 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N CVSS Calculator
Summary
WordPress Core < 6.5.5 - Authenticated (Contributor+) Stored Cross-Site Scripting via HTML API
Details

WordPress Core is vulnerable to Stored Cross-Site Scripting via the HTML API in various versions prior to 6.5.5 due to insufficient input sanitization and output escaping on URLs. 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.

Database specific
{
    "cna_assigner":  "Wordfence",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/6xxx/CVE-2024-6307.json",
    "unresolved_ranges":  [
        {
            "extracted_events":  [
                {
                    "introduced":  "5.9"
                },
                {
                    "last_affected":  "5.9.9"
                },
                {
                    "introduced":  "6.0"
                },
                {
                    "last_affected":  "6.0.8"
                },
                {
                    "introduced":  "6.1"
                },
                {
                    "last_affected":  "6.1.6"
                },
                {
                    "introduced":  "6.2"
                },
                {
                    "last_affected":  "6.2.5"
                },
                {
                    "introduced":  "6.3"
                },
                {
                    "last_affected":  "6.3.4"
                },
                {
                    "introduced":  "6.4"
                },
                {
                    "last_affected":  "6.4.4"
                },
                {
                    "introduced":  "6.5"
                },
                {
                    "last_affected":  "6.5.4"
                }
            ],
            "source":  "AFFECTED_FIELD"
        }
    ]
}
References

Affected packages

WordPress / wordpress

Package

Name
wordpress

Affected ranges

Type
ECOSYSTEM
Events
Introduced
5.9
Last Affected
5.9.9
Type
ECOSYSTEM
Events
Introduced
6.0
Last Affected
6.0.8
Type
ECOSYSTEM
Events
Introduced
6.1
Last Affected
6.1.6
Type
ECOSYSTEM
Events
Introduced
6.2
Last Affected
6.2.5
Type
ECOSYSTEM
Events
Introduced
6.3
Last Affected
6.3.4
Type
ECOSYSTEM
Events
Introduced
6.4
Last Affected
6.4.4
Type
ECOSYSTEM
Events
Introduced
6.5
Last Affected
6.5.4

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-6307.json"