Reflected XSS via unescaped add_query_arg URL
Published Nov 19, 2024 · Updated Apr 8, 2026
Reflected XSS in WP Royal Bard 2.216 and earlier allows remote attackers to inject scripts through a crafted URL requiring user interaction. The theme's functions.php builds the affected URL with add_query_arg and outputs the result without appropriate URL escaping, placing attacker-controlled query data in page markup. Execution requires a user to follow the crafted link; the script then runs in the affected site's browser context and can read or alter session-accessible data.
Summary
What happened
Reflected XSS in WP Royal Bard 2.216 and earlier allows remote attackers to inject scripts through a crafted URL requiring user interaction. The theme's functions.php builds the affected URL with add_query_arg and outputs the result without appropriate URL escaping, placing attacker-controlled query data in page markup. Execution requires a user to follow the crafted link; the script then runs in the affected site's browser context and can read or alter session-accessible data.
The record
- CVE
- CVE-2024-9830
- Published
- Nov 19, 2024
- Updated
- Apr 8, 2026
- Vendor
- WP Royal
- Product
- Bard
- Classifications
- CWE-79, T1204.001
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Nov 19, 2024CVE publishedPublication date reported by the CVE source.
- Apr 8, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=0 <=2.216
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo