{"url":"http://public2.vulnerablecode.io/api/packages/967991?format=json","purl":"pkg:npm/%40apostrophecms/import-export@2.1.0","type":"npm","namespace":"@apostrophecms","name":"import-export","version":"2.1.0","qualifiers":{},"subpath":"","is_vulnerable":true,"next_non_vulnerable_version":"3.5.3","latest_non_vulnerable_version":"3.5.3","affected_by_vulnerabilities":[{"url":"http://public2.vulnerablecode.io/api/vulnerabilities/76922?format=json","vulnerability_id":"VCID-x395-21dd-zkax","summary":"ApostropheCMS is an open-source content management framework. Prior to version 3.5.3 of `@apostrophecms/import-export`,\nThe `extract()` function in `gzip.js` constructs file-write paths using `fs.createWriteStream(path.join(exportPath, header.name))`. `path.join()` does not resolve or sanitise traversal segments such as `../`. It concatenates them as-is, meaning a tar entry named `../../evil.js` resolves to a path outside the intended extraction directory. No canonical-path check is performed before the write stream is opened. This is a textbook Zip Slip vulnerability. Any user who has been granted the Global Content Modify permission — a role routinely assigned to content editors and site managers — can upload a crafted `.tar.gz` file through the standard CMS import UI and write attacker-controlled content to any path the Node.js process can reach on the host filesystem. Version 3.5.3 of `@apostrophecms/import-export` fixes the issue.","references":[{"reference_url":"https://api.first.org/data/v1/epss?cve=CVE-2026-32731","reference_id":"","reference_type":"","scores":[{"value":"0.00099","scoring_system":"epss","scoring_elements":"0.27138","published_at":"2026-06-11T12:55:00Z"}],"url":"https://api.first.org/data/v1/epss?cve=CVE-2026-32731"},{"reference_url":"https://github.com/apostrophecms/apostrophe","reference_id":"","reference_type":"","scores":[{"value":"9.9","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H"},{"value":"CRITICAL","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://github.com/apostrophecms/apostrophe"},{"reference_url":"https://nvd.nist.gov/vuln/detail/CVE-2026-32731","reference_id":"CVE-2026-32731","reference_type":"","scores":[],"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-32731"},{"reference_url":"https://github.com/advisories/GHSA-mwxc-m426-3f78","reference_id":"GHSA-mwxc-m426-3f78","reference_type":"","scores":[],"url":"https://github.com/advisories/GHSA-mwxc-m426-3f78"},{"reference_url":"https://github.com/apostrophecms/apostrophe/security/advisories/GHSA-mwxc-m426-3f78","reference_id":"GHSA-mwxc-m426-3f78","reference_type":"","scores":[{"value":"10","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H"},{"value":"9.9","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H"},{"value":"CRITICAL","scoring_system":"generic_textual","scoring_elements":""},{"value":"Track*","scoring_system":"ssvc","scoring_elements":"SSVCv2/E:P/A:N/T:T/P:M/B:A/M:M/D:R/2026-03-19T15:54:58Z/"}],"url":"https://github.com/apostrophecms/apostrophe/security/advisories/GHSA-mwxc-m426-3f78"}],"fixed_packages":[{"url":"http://public2.vulnerablecode.io/api/packages/375224?format=json","purl":"pkg:npm/%40apostrophecms/import-export@3.5.3","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/%2540apostrophecms/import-export@3.5.3"}],"aliases":["CVE-2026-32731","GHSA-mwxc-m426-3f78"],"risk_score":null,"exploitability":null,"weighted_severity":null,"resource_url":"http://public2.vulnerablecode.io/vulnerabilities/VCID-x395-21dd-zkax"}],"fixing_vulnerabilities":[],"risk_score":null,"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/%2540apostrophecms/import-export@2.1.0"}