Skip to content

[Backport to release/11.0] Fix SQL injection via report_args.orderby on Analytics CSV export - #67551

Merged
LiamSarsfield merged 1 commit into
release/11.0from
cherry-pick-PR67544-to-release/11.0
Aug 10, 2026
Merged

[Backport to release/11.0] Fix SQL injection via report_args.orderby on Analytics CSV export#67551
LiamSarsfield merged 1 commit into
release/11.0from
cherry-pick-PR67544-to-release/11.0

Conversation

@woocommercebot

Copy link
Copy Markdown
Collaborator

This PR is a cherry-pick of #67544 to release/11.0.

Original PR Description

See 461-gh-Automattic/woocommerce.

…7544)

Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
Co-authored-by: Lourens Schep <lourensschep@gmail.com>
Co-authored-by: Chi-Hsuan Huang <chihsuan.tw@gmail.com>
@github-actions github-actions Bot added this to the 11.0.0 milestone Aug 10, 2026
@LiamSarsfield
LiamSarsfield enabled auto-merge (squash) August 10, 2026 13:16
@github-actions github-actions Bot added the plugin: woocommerce Issues related to the WooCommerce Core plugin. label Aug 10, 2026
@LiamSarsfield
LiamSarsfield disabled auto-merge August 10, 2026 13:17
@LiamSarsfield
LiamSarsfield merged commit 49dacbd into release/11.0 Aug 10, 2026
43 of 44 checks passed
@LiamSarsfield
LiamSarsfield deleted the cherry-pick-PR67544-to-release/11.0 branch August 10, 2026 13:17
@github-actions

Copy link
Copy Markdown
Contributor

Test using WordPress Playground

The changes in this pull request can be previewed and tested using a WordPress Playground instance.
WordPress Playground is an experimental project that creates a full WordPress instance entirely within the browser.

Test this pull request with WordPress Playground.

Note that this URL is valid for 30 days from when this comment was last updated. You can update it by closing/reopening the PR or pushing a commit that changes plugin code.

@github-actions

Copy link
Copy Markdown
Contributor

⚠️ API Documentation Reminder

Hi @woocommercebot! Your PR contains REST API changes. Please consider updating the REST API documentation if your changes affect the public API.

Changed API files:

plugins/woocommerce/src/Admin/API/Reports/Export/Controller.php

@github-actions

Copy link
Copy Markdown
Contributor

Testing Guidelines

Hi @LiamSarsfield ,

Apart from reviewing the code changes, please make sure to review the testing instructions (Guide) and verify that relevant tests (E2E, Unit, Integration, etc.) have been added or updated as needed.

Reminder: PR reviewers are required to document testing performed. This includes:

  • 🖼️ Screenshots or screen recordings.
  • 📝 List of functionality tested / steps followed.
  • 🌐 Site details (environment attributes such as hosting type, plugins, theme, store size, store age, and relevant settings).
  • 🔍 Any analysis performed, such as assessing potential impacts on environment attributes and other plugins, conducting performance profiling, or using LLM/AI-based analysis.

⚠️ Within the testing details you provide, please ensure that no sensitive information (such as API keys, passwords, user data, etc.) is included in this public issue.

@github-actions github-actions Bot added the metric: feature freeze exception A tracking label for PRs that were merged after the feature freeze. label Aug 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

metric: feature freeze exception A tracking label for PRs that were merged after the feature freeze. plugin: woocommerce Issues related to the WooCommerce Core plugin.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Sponsor
SponsoredKunjungi sekarang
Promo