CVE-2021-32661 – TechDocs object element script injection
https://notcve.org/view.php?id=CVE-2021-32661
Backstage is an open platform for building developer portals. In versions of Backstage's Techdocs Plugin (`@backstage/plugin-techdocs`) prior to 0.9.5, a malicious internal actor can potentially upload documentation content with malicious scripts by embedding the script within an `object` element. This may give access to sensitive data when other users visit that same documentation page. 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.9.5` release of `@backstage/plugin-techdocs`. • https://github.com/backstage/backstage/commit/aad98c544e59369901fe9e0a85f6357644dceb5c https://github.com/backstage/backstage/releases/tag/release-2021-06-03 https://github.com/backstage/backstage/security/advisories/GHSA-gg96-f8wr-p89f • CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection') CWE-434: Unrestricted Upload of File with Dangerous Type •