{"url":"http://public2.vulnerablecode.io/api/packages/525397?format=json","purl":"pkg:npm/%40backstage/techdocs-common@0.0.0-nightly-20212622340","type":"npm","namespace":"@backstage","name":"techdocs-common","version":"0.0.0-nightly-20212622340","qualifiers":{},"subpath":"","is_vulnerable":true,"next_non_vulnerable_version":null,"latest_non_vulnerable_version":null,"affected_by_vulnerabilities":[{"url":"http://public2.vulnerablecode.io/api/vulnerabilities/54569?format=json","vulnerability_id":"VCID-2gbb-ud28-3yaz","summary":"Path Traversal\nBackstage is an open platform for building developer portals, and techdocs-common contains common functionalities for Backstage's TechDocs. In `@backstage/techdocs-common`, a malicious actor could read sensitive files from the environment where TechDocs documentation is built and published by setting a particular path for `docs_dir` in `mkdocs.yml`.","references":[{"reference_url":"https://api.first.org/data/v1/epss?cve=CVE-2021-32662","reference_id":"","reference_type":"","scores":[{"value":"0.00484","scoring_system":"epss","scoring_elements":"0.65679","published_at":"2026-06-07T12:55:00Z"},{"value":"0.00484","scoring_system":"epss","scoring_elements":"0.65687","published_at":"2026-06-09T12:55:00Z"},{"value":"0.00484","scoring_system":"epss","scoring_elements":"0.65668","published_at":"2026-06-08T12:55:00Z"},{"value":"0.00484","scoring_system":"epss","scoring_elements":"0.6569","published_at":"2026-06-06T12:55:00Z"},{"value":"0.00484","scoring_system":"epss","scoring_elements":"0.65627","published_at":"2026-06-04T12:55:00Z"}],"url":"https://api.first.org/data/v1/epss?cve=CVE-2021-32662"},{"reference_url":"https://github.com/backstage/backstage/commit/8cefadca04cbf01d0394b0cb1983247e5f1d6208","reference_id":"","reference_type":"","scores":[{"value":"6.5","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"},{"value":"MODERATE","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://github.com/backstage/backstage/commit/8cefadca04cbf01d0394b0cb1983247e5f1d6208"},{"reference_url":"https://github.com/backstage/backstage/releases/tag/release-2021-05-27","reference_id":"","reference_type":"","scores":[{"value":"6.5","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"},{"value":"MODERATE","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://github.com/backstage/backstage/releases/tag/release-2021-05-27"},{"reference_url":"https://github.com/backstage/backstage/security/advisories/GHSA-pgf8-28gg-vpr6","reference_id":"","reference_type":"","scores":[{"value":"6.5","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"},{"value":"MODERATE","scoring_system":"cvssv3.1_qr","scoring_elements":""},{"value":"MODERATE","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://github.com/backstage/backstage/security/advisories/GHSA-pgf8-28gg-vpr6"},{"reference_url":"https://nvd.nist.gov/vuln/detail/CVE-2021-32662","reference_id":"CVE-2021-32662","reference_type":"","scores":[{"value":"6.5","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"},{"value":"MODERATE","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-32662"},{"reference_url":"https://github.com/advisories/GHSA-pgf8-28gg-vpr6","reference_id":"GHSA-pgf8-28gg-vpr6","reference_type":"","scores":[{"value":"MODERATE","scoring_system":"cvssv3.1_qr","scoring_elements":""}],"url":"https://github.com/advisories/GHSA-pgf8-28gg-vpr6"}],"fixed_packages":[{"url":"http://public2.vulnerablecode.io/api/packages/80940?format=json","purl":"pkg:npm/%40backstage/techdocs-common@0.6.3","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-45bh-a9ph-j3bh"},{"vulnerability":"VCID-92tf-v163-93cm"},{"vulnerability":"VCID-rnd3-9u2n-xyen"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/%2540backstage/techdocs-common@0.6.3"}],"aliases":["CVE-2021-32662","GHSA-pgf8-28gg-vpr6"],"risk_score":3.1,"exploitability":"0.5","weighted_severity":"6.2","resource_url":"http://public2.vulnerablecode.io/vulnerabilities/VCID-2gbb-ud28-3yaz"},{"url":"http://public2.vulnerablecode.io/api/vulnerabilities/54576?format=json","vulnerability_id":"VCID-45bh-a9ph-j3bh","summary":"Unrestricted Upload of File with Dangerous Type\nBackstage 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`.","references":[{"reference_url":"https://api.first.org/data/v1/epss?cve=CVE-2021-32660","reference_id":"","reference_type":"","scores":[{"value":"0.00468","scoring_system":"epss","scoring_elements":"0.64865","published_at":"2026-06-09T12:55:00Z"},{"value":"0.00468","scoring_system":"epss","scoring_elements":"0.64817","published_at":"2026-06-04T12:55:00Z"},{"value":"0.00468","scoring_system":"epss","scoring_elements":"0.64859","published_at":"2026-06-05T12:55:00Z"},{"value":"0.00468","scoring_system":"epss","scoring_elements":"0.64869","published_at":"2026-06-06T12:55:00Z"},{"value":"0.00468","scoring_system":"epss","scoring_elements":"0.64858","published_at":"2026-06-07T12:55:00Z"},{"value":"0.00468","scoring_system":"epss","scoring_elements":"0.64847","published_at":"2026-06-08T12:55:00Z"}],"url":"https://api.first.org/data/v1/epss?cve=CVE-2021-32660"},{"reference_url":"https://github.com/backstage/backstage/commit/aad98c544e59369901fe9e0a85f6357644dceb5c","reference_id":"","reference_type":"","scores":[{"value":"6.8","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H"},{"value":"MODERATE","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://github.com/backstage/backstage/commit/aad98c544e59369901fe9e0a85f6357644dceb5c"},{"reference_url":"https://github.com/backstage/backstage/releases/tag/release-2021-06-03","reference_id":"","reference_type":"","scores":[{"value":"6.8","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H"},{"value":"MODERATE","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://github.com/backstage/backstage/releases/tag/release-2021-06-03"},{"reference_url":"https://nvd.nist.gov/vuln/detail/CVE-2021-32660","reference_id":"CVE-2021-32660","reference_type":"","scores":[{"value":"6.8","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H"},{"value":"MODERATE","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-32660"},{"reference_url":"https://github.com/advisories/GHSA-pwhf-39xg-4rxw","reference_id":"GHSA-pwhf-39xg-4rxw","reference_type":"","scores":[{"value":"MODERATE","scoring_system":"cvssv3.1_qr","scoring_elements":""}],"url":"https://github.com/advisories/GHSA-pwhf-39xg-4rxw"},{"reference_url":"https://github.com/backstage/backstage/security/advisories/GHSA-pwhf-39xg-4rxw","reference_id":"GHSA-pwhf-39xg-4rxw","reference_type":"","scores":[{"value":"6.8","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H"},{"value":"MODERATE","scoring_system":"cvssv3.1_qr","scoring_elements":""},{"value":"MODERATE","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://github.com/backstage/backstage/security/advisories/GHSA-pwhf-39xg-4rxw"}],"fixed_packages":[{"url":"http://public2.vulnerablecode.io/api/packages/80953?format=json","purl":"pkg:npm/%40backstage/techdocs-common@0.6.4","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-92tf-v163-93cm"},{"vulnerability":"VCID-rnd3-9u2n-xyen"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/%2540backstage/techdocs-common@0.6.4"}],"aliases":["CVE-2021-32660","GHSA-pwhf-39xg-4rxw"],"risk_score":3.1,"exploitability":"0.5","weighted_severity":"6.2","resource_url":"http://public2.vulnerablecode.io/vulnerabilities/VCID-45bh-a9ph-j3bh"},{"url":"http://public2.vulnerablecode.io/api/vulnerabilities/41779?format=json","vulnerability_id":"VCID-92tf-v163-93cm","summary":"Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')\nA malicious actor with write access to a registered scaffolder template is able to manipulate the template in a way that writes files to arbitrary paths on the scaffolder-backend host instance. This vulnerability can in some situation also be exploited through user input when executing a template, meaning you do not need write access to the templates. This method will not allow the attacker to control the contents of the injected file however, unless the template is also crafted in a specific way that gives control of the file contents.","references":[{"reference_url":"https://api.first.org/data/v1/epss?cve=CVE-2021-43783","reference_id":"","reference_type":"","scores":[{"value":"0.00398","scoring_system":"epss","scoring_elements":"0.60953","published_at":"2026-06-09T12:55:00Z"},{"value":"0.00398","scoring_system":"epss","scoring_elements":"0.6091","published_at":"2026-06-04T12:55:00Z"},{"value":"0.00398","scoring_system":"epss","scoring_elements":"0.60958","published_at":"2026-06-05T12:55:00Z"},{"value":"0.00398","scoring_system":"epss","scoring_elements":"0.60966","published_at":"2026-06-06T12:55:00Z"},{"value":"0.00398","scoring_system":"epss","scoring_elements":"0.60955","published_at":"2026-06-07T12:55:00Z"},{"value":"0.00398","scoring_system":"epss","scoring_elements":"0.60938","published_at":"2026-06-08T12:55:00Z"}],"url":"https://api.first.org/data/v1/epss?cve=CVE-2021-43783"},{"reference_url":"https://github.com/backstage/backstage","reference_id":"","reference_type":"","scores":[{"value":"8.5","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:L"},{"value":"HIGH","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://github.com/backstage/backstage"},{"reference_url":"https://github.com/backstage/backstage/commit/f9352ab606367cd9efc6ff048915c70ed3013b7f","reference_id":"","reference_type":"","scores":[{"value":"8.5","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:L"},{"value":"HIGH","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://github.com/backstage/backstage/commit/f9352ab606367cd9efc6ff048915c70ed3013b7f"},{"reference_url":"https://nvd.nist.gov/vuln/detail/CVE-2021-43783","reference_id":"CVE-2021-43783","reference_type":"","scores":[{"value":"8.5","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:L"},{"value":"HIGH","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-43783"},{"reference_url":"https://github.com/advisories/GHSA-mg3m-f475-28hv","reference_id":"GHSA-mg3m-f475-28hv","reference_type":"","scores":[{"value":"HIGH","scoring_system":"cvssv3.1_qr","scoring_elements":""}],"url":"https://github.com/advisories/GHSA-mg3m-f475-28hv"},{"reference_url":"https://github.com/backstage/backstage/security/advisories/GHSA-mg3m-f475-28hv","reference_id":"GHSA-mg3m-f475-28hv","reference_type":"","scores":[{"value":"8.5","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:L"},{"value":"HIGH","scoring_system":"cvssv3.1_qr","scoring_elements":""},{"value":"HIGH","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://github.com/backstage/backstage/security/advisories/GHSA-mg3m-f475-28hv"}],"fixed_packages":[{"url":"http://public2.vulnerablecode.io/api/packages/59678?format=json","purl":"pkg:npm/%40backstage/techdocs-common@0.15.14","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/%2540backstage/techdocs-common@0.15.14"}],"aliases":["CVE-2021-43783","GHSA-mg3m-f475-28hv"],"risk_score":4.0,"exploitability":"0.5","weighted_severity":"8.0","resource_url":"http://public2.vulnerablecode.io/vulnerabilities/VCID-92tf-v163-93cm"},{"url":"http://public2.vulnerablecode.io/api/vulnerabilities/110691?format=json","vulnerability_id":"VCID-rnd3-9u2n-xyen","summary":"Path traversal for local publishers in TechDocs backend\n### Impact\nA malicious actor with the ability to register entities in the Software Catalog is able to write files to arbitrary paths on the techdocs backend host instance when `techdocs.publisher.type` is set to `local`.\n\nThis vulnerability is mitigated by the fact that the Software Catalog must be configured with non-standard field format validators and/or non-standard entity policies.\n\n### Patches\nThose affected are advised to upgrade to `@backstage/plugin-techdocs-node` version `1.1.2` or higher.\n\n### Workarounds\nIf patching or upgrading is not possible, it would be sufficient to update any custom Catalog field format validators and/or custom entity policies to disallow entity names, kinds, and namespaces containing `..`\n\n<!--\n### References\ntodo: Link to blog post / published report.\n-->\n\n### For more information\nIf you have any questions or comments about this advisory:\n\n- Open an issue in the [Backstage repository](https://github.com/backstage/backstage)\n- Visit our chat, linked to in the [Backstage README](https://github.com/backstage/backstage)","references":[{"reference_url":"https://github.com/backstage/backstage","reference_id":"","reference_type":"","scores":[{"value":"MODERATE","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://github.com/backstage/backstage"},{"reference_url":"https://github.com/backstage/backstage/commit/429c9f9daa5654dd1b996aa85f7264eb23a2e4fa","reference_id":"","reference_type":"","scores":[{"value":"MODERATE","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://github.com/backstage/backstage/commit/429c9f9daa5654dd1b996aa85f7264eb23a2e4fa"},{"reference_url":"https://github.com/backstage/backstage/security/advisories/GHSA-4jqc-jvh2-pxg9","reference_id":"","reference_type":"","scores":[{"value":"MODERATE","scoring_system":"cvssv3.1_qr","scoring_elements":""},{"value":"MODERATE","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://github.com/backstage/backstage/security/advisories/GHSA-4jqc-jvh2-pxg9"},{"reference_url":"https://github.com/advisories/GHSA-4jqc-jvh2-pxg9","reference_id":"GHSA-4jqc-jvh2-pxg9","reference_type":"","scores":[{"value":"MODERATE","scoring_system":"cvssv3.1_qr","scoring_elements":""}],"url":"https://github.com/advisories/GHSA-4jqc-jvh2-pxg9"}],"fixed_packages":[{"url":"http://public2.vulnerablecode.io/api/packages/149387?format=json","purl":"pkg:npm/%40backstage/techdocs-common@0.11.16","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/%2540backstage/techdocs-common@0.11.16"}],"aliases":["GHSA-4jqc-jvh2-pxg9","GMS-2022-2230","GMS-2022-2231"],"risk_score":3.1,"exploitability":"0.5","weighted_severity":"6.2","resource_url":"http://public2.vulnerablecode.io/vulnerabilities/VCID-rnd3-9u2n-xyen"}],"fixing_vulnerabilities":[],"risk_score":"4.0","resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/%2540backstage/techdocs-common@0.0.0-nightly-20212622340"}