Vulnerability · Published Nov 19, 2024 · Assigned by Wordfence
CVE-2024-9830Bard <= 2.216 - Reflected Cross-Site Scripting via add_query_arg Parameter
Medium 6.1
In plain English
A medium-severity cross-site scripting in Bard from wproyal. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 35% of all known vulnerabilities).
Official description
The Bard theme for WordPress is vulnerable to Reflected Cross-Site Scripting due to the use of add_query_arg without appropriate escaping on the URL in all versions up to, and including, 2.216. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that execute if they can successfully trick a user into performing an action such as clicking on a link.
Affected products (as reported)
Weakness: CWE-79 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
References
- https://www.wordfence.com/threat-intel/vulnerabilities/id/9aff1e5b-2f16-43d0-b75a-c07e59a9c15f?source=cve
- https://wordpress.org/themes/bard/
- https://themes.trac.wordpress.org/browser/bard/2.216/functions.php#L98
- https://themes.trac.wordpress.org/browser/bard/2.216/functions.php#L109
- https://themes.trac.wordpress.org/changeset/248854/