CVE-2024-4034: Virtue <= 3.4.8 - Authenticated (Contributor+) Stored Cross-Site Scripting via Post Author
The Virtue theme for WordPress is vulnerable to Stored Cross-Site Scripting via a Post Author's name in all versions up to, and including, 3.4.8 due to insufficient input sanitization and output escaping when the latest posts feature is enabled on the homepage. 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.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
wordpress/virtue-themeto a version that resolves this vulnerability.Fixed in 3.4.8 - Configuration
Disable the 'latest posts' feature on the homepage to mitigate Stored Cross-Site Scripting via a Post Author's name until the Virtue theme is updated.
WordPress Virtue theme latest posts feature on the homepage = disable
Event History
Frequently Asked Questions
What is the severity of CVE-2024-4034?
CVE-2024-4034 has been classified as a medium severity vulnerability due to its potential for exploitation through stored cross-site scripting.
How do I fix CVE-2024-4034?
To mitigate CVE-2024-4034, update the Virtue theme to version 3.4.9 or later, which addresses the input sanitization issues.
Who is affected by CVE-2024-4034?
Users of the Virtue theme for WordPress in all versions up to and including 3.4.8 are affected by CVE-2024-4034.
What is the nature of the vulnerability in CVE-2024-4034?
CVE-2024-4034 is a stored cross-site scripting vulnerability that results from inadequate sanitization of the post author's name.
Does CVE-2024-4034 require an authenticated user to exploit?
Yes, CVE-2024-4034 requires an authenticated user to exploit the vulnerability in the Virtue theme.