v2.3.5
mercurjs/mercurv2.3.5Sep 17, 2026by github-actions[bot]
Upgrading?
AI Summary
A patch release focused on security, addressing authorization gaps in the Store and Vendor APIs and patching critical Next.js advisories. It also introduces new extension points for plugins on the order detail page and fixes a vendor onboarding currency select issue.
Key Highlights
- Addressed critical security vulnerabilities, including client-supplied cart prices, cross-product variant edits, and customer group membership checks.
- Patched critical Next.js advisories (RCE) by bumping the Next.js version to 15.5.24.
- Introduced new plugin extension points on the order detail page, including action locks and timeline entries.
- Fixed the vendor onboarding currency select to populate correctly.
Breaking Changes
- The `POST /store/carts/:id/line-items` endpoint no longer accepts `unit_price` or `compare_at_unit_price` fields, returning a 400 error.
New Features
- Plugins can now extend the order detail page with action locks to disable order actions and custom widgets.
- Plugins can now add custom entries to the order activity timeline.
Full Release Notes
# Mercur v2.3.5
A patch release focused on security. We closed three authorization gaps in the
Store and Vendor APIs and patched critical Next.js advisories in the
storefront. Plugins also get new seams on the order detail page, plus a fix for
the vendor onboarding currency select.
## ⚠️ Before you upgrade
- **`POST /store/carts/:id/line-items` no longer accepts `unit_price` or
`compare_at_unit_price`** (#1546). Requests that send either field now get a
`400`. Line prices always come from the offer, so remove these fields from
any storefront or integration that sends them.
## 🔒 Security issues addressed
- **Client-supplied cart prices.** A shopper could set `unit_price` when adding
a line item. The price was treated as custom, skipped recalculation and
carried into the order and payment authorization. These fields are now
rejected. (#1546)
- **Cross-product variant edits.** `POST` and `DELETE
/vendor/products/:id/variants/:variant_id` didn't check that the variant
belonged to the product in the path. A change request could update or delete
a variant (including its images) on a different product. Both routes now
return `404` when the variant isn't on that product. (#1545)
- **Customer group membership.** `POST /vendor/customer-groups/:id/customers`
checked that the seller owned the group but not the customers. A vendor could
add or remove any customer on the platform, including other sellers'
customers. Every `add` and `remove` ID is now checked, and the route returns
`404` if any customer isn't linked to the seller. (#1544)
- **Next.js RCE advisories in the storefront.** Bumped `next` to 15.5.24 in
`apps/storefront`. This resolves GHSA-2xp9-vwfh-vxw4 (unauthenticated RCE in
the Image Optimization API with AVIF files) and GHSA-p293-qw3h-jr36
(unauthenticated RCE on Windows-hosted servers). If your storefront is based
on ours, bump `next` there too. (#1542)
We recommend all marketplaces upgrade.
## ✨ Highlights
### 🧩 Order detail extension points
Plugins such as disputes can now act on an order without forking its sections.
This works in both panels. (#1530)
- **Action locks.** `actionLocks` in `defineCustomFieldsConfig` can disable
*Edit order*, *Return*, *Exchange* and *Claim*. The string you return becomes
the disabled action's tooltip.
- **Line-item zone.** A new `orders.detail.item` widget zone on each summary
row receives `{ order, item }`.
- **Timeline entries.** `activity` adds your own entries to the order activity
timeline.
Nothing changes unless a plugin configures these.
## 🐛 Fixes
- Return supported currencies from `GET /vendor/stores`, so the vendor
onboarding Currency select is populated again on Medusa 2.20 (#1543)
**Full Changelog**: https://github.com/mercurjs/mercur/compare/v2.3.4...v2.3.5
Related Repositories
The AI that really does things. Any OS. Any Platform. The lobster way. 🦞
Interactive roadmaps, guides and other educational content to help developers grow in their careers.
Reverse engineer anything with agents, from app behavior down to native binaries.
The open source coding agent.
Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.