Advisory Published

CVE-2023-4970: PubyDoc <= 2.0.6 - Admin+ Stored XSS

First published: Mon Nov 20 2023(Updated: )

The PubyDoc WordPress plugin through 2.0.6 does not sanitise and escape some of its settings, which could allow high privilege users such as admin to perform Cross-Site Scripting attacks even when unfiltered_html is disallowed


Affected SoftwareAffected VersionHow to fix
Pubydoc Pubydoc<=2.0.6

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2023-4970?

    The severity of CVE-2023-4970 is medium with a CVSS score of 4.8.

  • How does CVE-2023-4970 impact PubyDoc WordPress plugin?

    CVE-2023-4970 allows high privilege users, such as admins, to perform Stored XSS attacks in the PubyDoc WordPress plugin version 2.0.6 and below.

  • How can an attacker exploit CVE-2023-4970?

    An attacker can exploit CVE-2023-4970 by injecting malicious code through the plugin's unsanitized settings, allowing them to execute arbitrary scripts in a victim's browser.

  • Is CVE-2023-4970 only exploitable by admin users?

    No, high privilege users like admin have more capabilities, but other authenticated users with sufficient privileges can also exploit the vulnerability.

  • How can I mitigate the risk of CVE-2023-4970?

    To mitigate CVE-2023-4970, update the PubyDoc WordPress plugin to version 2.0.7 or higher, which includes the necessary sanitization and escaping of settings to prevent the vulnerability.


SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2023 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203