CWE
79
Advisory Published
Updated

CVE-2021-25978: Apostrophe - XSS

First published: Sun Nov 07 2021(Updated: )

Apostrophe CMS versions between 2.63.0 to 3.3.1 are vulnerable to Stored XSS where an editor uploads an SVG file that contains malicious JavaScript onto the Images module, which triggers XSS once viewed.

Credit: vulnerabilitylab@mend.io

Affected SoftwareAffected VersionHow to fix
Apostrophecms Apostrophecms>=2.63.0<=3.3.1

Remedy

Upgrade to version 3.4.0

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 CVE-2021-25978?

    CVE-2021-25978 is a vulnerability in Apostrophe CMS versions between 2.63.0 to 3.3.1 that allows for Stored XSS attacks.

  • How does CVE-2021-25978 work?

    CVE-2021-25978 occurs when an editor uploads an SVG file containing malicious JavaScript onto the Images module in Apostrophe CMS, which triggers XSS when viewed.

  • What is the severity of CVE-2021-25978?

    The severity of CVE-2021-25978 is medium with a CVSS score of 5.4.

  • How can I fix CVE-2021-25978?

    To fix CVE-2021-25978, update your Apostrophe CMS version to a version beyond 3.3.1.

  • Is there any reference for CVE-2021-25978?

    Yes, you can find more information about CVE-2021-25978 and its fix in the official GitHub commit: [GitHub Commit](https://github.com/apostrophecms/apostrophe/commit/c8b94ee9c79468f1ce28e31966cb0e0839165e59)

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
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.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203