various: Cross-site scripting
various is affected by cross-site scripting. Exploitation requires at least contributor-level access. Injected script can execute in the affected site's origin when the vulnerable output is viewed.
- Component
- various
- Plugin slug
Core- Affected
- See vendor advisory
- Safe version
- See mitigation notes
- Published
- Jun 25, 2024
- Weakness
- Not assigned
This CVE was published Jun 25, 2024 and is one of 45 known issues for WordPress core.
Patch or disable the affected component.
Update various to a release outside the affected range, or disable and remove it until a fixed version is available.
Technical description
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.
CVE / CNA vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
Primary and upstream sources
- NVD record for CVE-2024-6307
- WordPress upstream reference core.trac.wordpress.org
- WordPress upstream reference core.trac.wordpress.org
- WordPress upstream reference wordpress.org
- Wordfence advisory wordfence.com
- WordPress upstream reference core.trac.wordpress.org
- WordPress upstream reference core.trac.wordpress.org
- WordPress upstream reference wordpress.org
- Wordfence advisory wordfence.com