CVE-2024-9886: WP Baidu Map <= 1.2.2 - Authenticated (Contributor+) Stored Cross-Site Scripting via Shortcode
The WP Baidu Map plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's 'baidumap' shortcode in all versions up to, and including, 1.2.2 due to insufficient input sanitization and output escaping on user supplied attributes. 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
Event History
Frequently Asked Questions
What is the severity of CVE-2024-9886?
CVE-2024-9886 is classified as a high severity vulnerability due to its potential for exploitation through stored Cross-Site Scripting.
How do I fix CVE-2024-9886?
To fix CVE-2024-9886, update the WP Baidu Map plugin to a version later than 1.2.2 where the vulnerability has been addressed.
What exploit can be performed with CVE-2024-9886?
CVE-2024-9886 allows attackers to execute arbitrary JavaScript in the context of a user's browser, leading to session hijacking or malicious redirects.
Which versions of WP Baidu Map are affected by CVE-2024-9886?
CVE-2024-9886 affects all versions of WP Baidu Map up to and including version 1.2.2.
Is user input safe with CVE-2024-9886?
No, user input is not safe with CVE-2024-9886 due to insufficient input sanitization and output escaping.