{"items":[{"id":"NVI-00017919","kind":"vulnerability","title":"ApostropheCMS: Missing Authentication in `cleanExport` Route","revision":1,"unknowns":["Customer inventory, deployment, reachability and exploitation have not been inspected."],"lifecycle":"active","identifiers":["GHSA-rw26-wwfc-9wvm","CVE-2026-113648"],"plain_summary":"OSV carries this publisher advisory for @apostrophecms/import-export. This is an aggregated source copy; consult the original publisher and compare update dates.","review_status":"source_listed","control_topics":[],"public_actions":[{"summary":"The original advisory lists fixed boundaries 3.7.1 for @apostrophecms/import-export. Confirm the publisher’s latest guidance.","source_ids":["sr-1979b2d9ed52e8df848ae6bf4ac18970"],"action_type":"vendor_patch","limitations":"Confirm current vendor support, compatibility and deployment evidence. This report has not tested a fix in your system.","current_supported_target":null}],"schema_version":"1.1.0","source_metrics":[],"why_it_matters":"Published affected context helps an owner decide what evidence to gather. This report has not examined your application.","related_sources":[{"id":"sr-1979b2d9ed52e8df848ae6bf4ac18970","url":"https://github.com/advisories/GHSA-rw26-wwfc-9wvm","basis":"vendor_advisory","notes":"GitHub-origin advisory, CC-BY-4.0; OSV is an aggregate copy, not independent corroboration.","title":"GHSA-rw26-wwfc-9wvm","publisher":"GitHub Advisory Database via OSV","observed_at":"2026-11-07T00:52:46.095Z"}],"affected_context":[{"certainty":"source_listed","source_ids":["sr-1979b2d9ed52e8df848ae6bf4ac18970"],"technology":"@apostrophecms/import-export","known_exclusions":[],"conditions_summary":"#### 1. Summary\nThe API endpoint `POST /api/v1/@apostrophecms/import-export/clean-export` in `@apostrophecms/import-export` lacks authentication and authorization checks. Any client—including unauthenticated anonymous users who have obtained the standard CSRF cookie from visiting the site—can directly invoke this route and trigger the underlying `self.cleanExport(req)` method.\n\n---\n\n#### 2. Affected Files & Endpoints\n* **Endpoint:** `POST /api/v1/@apostrophecms/import-export/clean-export`\n* **Route Definition:** `packages/import-export/lib/apiRoutes.js` (lines 32–34)\n* **Method Implementation:** `packages/import-export/lib/methods/import.js` (lines 1271–1324)\n\n---\n\n#### 3. Root Cause Analysis\nIn `packages/import-export/lib/apiRoutes.js`, the `get.related` handler explicitly validates that the caller is logged in:\n```javascript\nget: {\n  async related(req) {\n    if (!req.user) {\n      throw self.apos.error('forbidden');\n    }\n    // ...\n  }\n}\n```\nIn contrast, `post.cleanExport` (as well as `post.overrideDuplicates`) lacks any verification of `req.user`:\n```javascript\npost: {\n  async overrideDuplicates(req) {\n    return self.overrideDuplicates(req);\n  },\n\n  async cleanExport(req) {\n  ","public_affected_ranges":["SEMVER: introduced 0; fixed 3.7.1"]}],"null_published_at":"2026-11-07T00:57:04.324Z","source_updated_at":"2026-10-21T17:28:21.930Z","source_disclosed_at":"2026-10-21T17:13:28.000Z","is_synthetic_fixture":false,"null_last_reviewed_at":null,"public_change_summary":"First indexed by Null; source disclosure date is shown separately.","null_first_observed_at":"2026-11-07T00:52:46.095Z"}],"next_cursor":null,"snapshot_revision":"42594"}