various: Cross-site scripting
various is affected by cross-site scripting. Exploitation requires an authenticated contributor account. 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 47 known issues for WordPress core.
Update, patch or deactivate.
No fixed release is identified. Update various when a confirmed fixed release becomes available; until then, disable and remove it when the site's risk warrants.
No confirmed safe version is listed. Consider a vendor-supported patch or temporarily restricting the affected functionality while you assess the risk.
Deactivate only when warranted by your risk profile, or when advised by your hosting provider in the limited circumstances where the vulnerability cannot otherwise be mitigated. If you’re unsure which action is appropriate, contact Fused or your hosting provider for guidance.
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