8.1
CWE
434 77
Advisory Published
Updated

CVE-2021-32660: TechDocs content sanitization bypass

First published: Thu Jun 03 2021(Updated: )

Backstage is an open platform for building developer portals, and techdocs-common contains common functionalities for Backstage's TechDocs. In versions of `@backstage/tehdocs-common` prior to 0.6.4, a malicious internal actor is able to upload documentation content with malicious scripts. These scripts would normally be sanitized by the TechDocs frontend, but by tricking a user to visit the content via the TechDocs API, the content sanitazion will be bypassed. If the TechDocs API is hosted on the same origin as the Backstage app or other backend plugins, this may give access to sensitive data. The ability to upload malicious content may be limited by internal code review processes, unless the chosen TechDocs deployment method is to use an object store and the actor has access to upload files directly to that store. The vulnerability is patched in the `0.6.4` release of `@backstage/techdocs-common`.

Credit: security-advisories@github.com

Affected SoftwareAffected VersionHow to fix
Backstage Techdocs Common<0.6.4

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-2021-32660?

    CVE-2021-32660 is considered a moderate severity vulnerability as it allows a malicious internal actor to upload harmful documentation content.

  • How do I fix CVE-2021-32660?

    To remediate CVE-2021-32660, upgrade your @backstage/techdocs-common package to version 0.6.4 or later.

  • Who is affected by CVE-2021-32660?

    CVE-2021-32660 affects users of @backstage/techdocs-common versions prior to 0.6.4, especially those allowing content uploads.

  • What are the potential impacts of CVE-2021-32660?

    Exploiting CVE-2021-32660 can result in the injection of malicious scripts or content within the documentation, affecting users who access it.

  • Is there a way to mitigate the risks of CVE-2021-32660 before upgrading?

    Users can implement access controls to limit who can upload documentation as a temporary measure until they upgrade to non-vulnerable versions.

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