Description
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.
Recommendation
Update the @backstage/techdocs-common package to the latest compatible version. Followings are version details:
- Affected version(s): < 0.6.4
- Patched version(s): 0.6.4
References
Could your website be exposed too?
SmartScanner can check your website for Script injection and gives you actionable findings to investigate.
Start a free scanRelated Issues
- Script injection - @backstage/plugin-techdocs - CVE-2021-32661
- Command Injection in lodash - lodash-es - CVE-2021-23337
- Risk of code injection - CVE-2021-21278
- Command Injection in lodash - lodash-template - CVE-2021-23337


