{"id":"CVE-2021-32661","published":"2021-06-03T17:25:10Z","modified":"2024-08-03T23:25:31Z","title":"TechDocs object element script injection","vendor":"backstage","product":"backstage","tier":"tail","description":{"text":"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`.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.8,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01209,"percentile":0.69162,"provenance":"source"},"cwes":[{"id":"CWE-77","name":"Improper Neutralization of Special Elements used in a Command"}],"references":[{"url":"https://github.com/backstage/backstage/commit/aad98c544e59369901fe9e0a85f6357644dceb5c","tags":["x_refsource_MISC"]},{"url":"https://github.com/backstage/backstage/releases/tag/release-2021-06-03","tags":["x_refsource_MISC"]},{"url":"https://github.com/backstage/backstage/security/advisories/GHSA-gg96-f8wr-p89f","tags":["x_refsource_CONFIRM"]}],"priority":{"score":18.6,"factors":[{"name":"EPSS percentile","points":13.83},{"name":"CVSS severity","points":4.76}]},"vendorSlug":"backstage","affectedVersions":[{"vendor":"backstage","product":"backstage","versions":["< 0.9.5"]}],"affected":[{"ecosystem":"npm","package":"@backstage/plugin-techdocs","vulnerableRanges":["<0.9.5"],"patched":["0.9.5"],"from":["GHSA-gg96-f8wr-p89f"],"provenance":"source"}],"summary":{"text":"The TechDocs plugin (@backstage/plugin-techdocs) in Backstage, an open platform for building developer portals, fails to neutralise scripts embedded within object elements in uploaded documentation content. An attacker who is an internal actor with high privileges and must have a user interact with the affected documentation page can use this to run malicious scripts that may expose sensitive data to other users who visit that page; upload may be blocked by internal code review unless the deployment uses an object store and the actor can upload to it directly.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:34:51Z"},"euvd":{"id":"EUVD-2021-1324","exploited":false,"provenance":"source"}}