Skip to content

DataDeck v1.1.2 — Round-2 Bug Hunt & Security Hardening

Latest

Choose a tag to compare

@duhanguler duhanguler released this 24 Nov 00:30

Security Hardening

  • Enforced delete_shop_orders capability inside WooOrderEntityAdapter::delete_records().
  • Enforced publish_posts downgrade and status whitelisting on post/product creation (PostEntityAdapter, WooProductEntityAdapter).
  • Scoped multi-author visibility in SmartQueryPlanner so low-privilege contributors cannot view other authors' private posts or unpublished drafts.
  • Enforced object-level checks on GET /history/record/{entity}/{id} and GET /records/{entity}/{id}, required moderate_comments for the Comments grid, verified can_read() on native list toggle pills, and enforced promote_user + get_editable_roles() on user role edits.
  • Added atomic scheduled -> running claim lock in CampaignScheduler::run_campaign() to prevent duplicate execution under overlapping workers, refused capability bypass when the scheduling user was deleted, restricted revertAt in bulk mode to elevated roles, and blocked rolling back non-applied batches.

Bug Fixes & Data Integrity

  • Fixed WooCommerce sale_price/regular_price filters and woo_margin_audit lens false positives caused by wc_product_meta_lookup.min_price/max_price storing effective _price on simple products.
  • Included wcl.sku in numeric searches (EAN/UPC barcodes), fixed MySQL numeric isempty (0 = '') and empty-string postmeta decimal casts, added boolean meta filters + Yes/No UI selector, preserved onbackorder when stock reaches 0 with backorders enabled, cleared unique _sku/sales stats on duplicated WooCommerce products, prevented sanitize_email() from wiping existing emails on invalid input, protected serialized PHP arrays from plain-text overwrites, fixed HPOS order matching in CSV import, and fixed Plain Permalink CSV/JSON export URLs.
  • Enforced compile-time function whitelist & if() arity validation in AST ExpressionEngine, fixed empty-string + addition & false == 0 equality, preserved pending auto-revert batches during daily pruning, prevented partial rollback lockout, and booted Abilities API on /wp-json/wp-abilities/ requests.
  • Frontend UX: fixed locale currency parsing ($1,250.00, 1.250,99) across inline edit, paste, and live aggregations; fixed WordPress Media Modal cancel freezing keyboard navigation; added single-commit guard on Enter/Tab/Escape; added full-record hydration in Inspector Drawer; initialized case_transform/round_ending bulk defaults; auto-refreshed visible computed columns after inline edits; and fixed multiline CSV analyze sampling.