No description
Find a file
Manish Gupta cc3eb974f1
[WEB-7813] fix: prevent ORM order_by injection in issue and other endpoints (#9292)
* fix: prevent ORM order_by injection via user-supplied query params (GHSA-2r95, GHSA-w45q)

Add field-name allowlists and a sanitize_order_by() utility in order_queryset.py.
All allowlists are centralised there; each call site imports the named constant
so there are no inline sets scattered across view files.

- order_queryset.py: ISSUE_ORDER_BY_ALLOWLIST, INTAKE_ISSUE_ORDER_BY_ALLOWLIST,
  ACTIVITY_ORDER_BY_ALLOWLIST, PROJECT_ORDER_BY_ALLOWLIST, VIEW_ORDER_BY_ALLOWLIST,
  NOTIFICATION_ORDER_BY_ALLOWLIST + sanitize_order_by() utility; validation added
  at the top of order_issue_queryset() — fixes all callers including the
  unauthenticated ProjectIssuesPublicEndpoint (GHSA-w45q)
- api/views/cycle.py, api/views/module.py: cycle/module issue list endpoints
- api/views/issue.py: IssueActivity list and detail endpoints
- app/views/intake/base.py: IntakeIssue list
- app/views/view/base.py: saved-view list
- app/views/notification/base.py: notification paginator
- app/views/project/base.py: project list paginator
- app/views/user/base.py, app/views/workspace/user.py: activity paginators

Closes WEB-7813

Co-authored-by: Plane AI <noreply@plane.so>

* fix: harden sanitize_order_by against multi-dash malformed inputs

lstrip("-") stripped all leading dashes, allowing "--created_at" to
pass the allowlist check unchanged and reach .order_by() as a malformed
token (causing FieldError). Now strips only one leading dash; any
remaining dash prefix is rejected to the safe default.

Co-authored-by: Plane AI <noreply@plane.so>

---------

Co-authored-by: Plane AI <noreply@plane.so>
2026-06-23 18:02:52 +05:30
.claude/skills chore: integrate react-doctor scanning (#9223) 2026-06-09 02:02:54 +05:30
.github chore: integrate react-doctor scanning (#9223) 2026-06-09 02:02:54 +05:30
.husky fix: eslint (#8185) 2025-12-05 16:03:51 +05:30
.idx chore: add IDX configuration so anyone can edit the project from idx.google.com (#5398) 2024-08-28 13:52:25 +05:30
apps [WEB-7813] fix: prevent ORM order_by injection in issue and other endpoints (#9292) 2026-06-23 18:02:52 +05:30
deployments [WEB-7805] fix: remove hardcoded SECRET_KEY from community deployment manifests (#9291) 2026-06-23 17:59:19 +05:30
docs fix: replace eslint with oxlint (#8677) 2026-03-03 00:46:05 +05:30
packages chore(deps): upgrade Storybook to v10 and fix security advisories (#9277) 2026-06-20 17:08:01 +05:30
.dockerignore [WEB-5040] feat: admin react-router migration (#7922) 2025-11-06 13:39:35 +05:30
.env.example [INFRA-209] Remove nginx related configurations from plane community (#7406) 2025-07-14 16:38:27 +05:30
.gitattributes fix: Local Setup on Windows (#5539) 2024-09-10 17:28:18 +05:30
.gitignore fix(api): enforce workspace membership on GenericAssetEndpoint (#9212) 2026-06-04 18:49:39 +05:30
.mise.toml [WEB-5048] chore: implements esm exports for all packages (#7816) 2025-10-06 21:01:32 +05:30
.npmrc fix: updated npmrc with hoist patterns (#8271) 2025-12-09 16:32:49 +05:30
.oxfmtrc.json chore: replace prettier with oxfmt (#8676) 2026-03-02 20:40:50 +05:30
.oxlintrc.json fix: disable react-in-jsx-scope rule in oxlint config (#8682) 2026-03-04 13:36:44 +05:30
.prettierignore fix: eslint (#8185) 2025-12-05 16:03:51 +05:30
.trivyignore fix: security vulnerabilities for plane docker images (#9140) 2026-05-26 14:25:01 +05:30
AGENTS.md fix: Add docker pytest runner and fix bugs the suite surfaced (#9138) 2026-05-26 01:21:37 +05:30
CODE_OF_CONDUCT.md chore: updated the contact email (#2605) 2023-11-02 16:27:23 +05:30
CODEOWNERS chore: update CODEOWNERS for apps and deployments (#8919) 2026-04-20 17:17:34 +05:30
CONTRIBUTING.md [WEB-6420] chore: migrate community references from Discord to Forum (#8657) 2026-03-04 13:08:36 +05:30
COPYRIGHT.txt chore: add copyright (#8584) 2026-01-27 13:54:22 +05:30
COPYRIGHT_CHECK.md chore: add copyright (#8584) 2026-01-27 13:54:22 +05:30
docker-compose-local.yml fix: removed unused files 2026-03-25 02:04:20 +05:30
docker-compose-test.yml fix: Add docker pytest runner and fix bugs the suite surfaced (#9138) 2026-05-26 01:21:37 +05:30
docker-compose.yml Update docker-compose.yml for valkey security patch (#7926) 2025-10-09 17:15:49 +05:30
LICENSE.txt LICENSE change for Plane 2023-06-19 18:47:39 +05:30
package.json chore: integrate react-doctor scanning (#9223) 2026-06-09 02:02:54 +05:30
pnpm-lock.yaml chore(deps): upgrade Storybook to v10 and fix security advisories (#9277) 2026-06-20 17:08:01 +05:30
pnpm-workspace.yaml chore(deps): upgrade Storybook to v10 and fix security advisories (#9277) 2026-06-20 17:08:01 +05:30
README.md fix: update Twitter icon and links to X (#8785) (#8790) 2026-04-07 15:34:54 +05:30
SECURITY.md Updated SECURITY.md (#5737) 2024-10-03 14:09:01 +05:30
setup.sh feat: migrate to pnpm from yarn (#7593) 2025-08-19 20:06:42 +05:30
turbo.json chore(deps): minimatch and rollup package vulnerabilities (#8675) 2026-03-03 01:26:29 +05:30



Plane Logo

Modern project management for all teams

Website • Forum • X • Documentation

Plane Screens

Meet Plane, an open-source project management tool to track issues, run sprints cycles, and manage product roadmaps without the chaos of managing the tool itself. 🧘‍♀️

Plane is evolving every day. Your suggestions, ideas, and reported bugs help us immensely. Do not hesitate to join in the conversation on Forum or raise a GitHub issue. We read everything and respond to most.

🚀 Installation

Getting started with Plane is simple. Choose the setup that works best for you:

  • Plane Cloud Sign up for a free account on Plane Cloud—it's the fastest way to get up and running without worrying about infrastructure.

  • Self-host Plane Prefer full control over your data and infrastructure? Install and run Plane on your own servers. Follow our detailed deployment guides to get started.

Installation methods Docs link
Docker Docker
Kubernetes Kubernetes

Instance admins can configure instance settings with God mode.

🌟 Features

  • Work Items Efficiently create and manage tasks with a robust rich text editor that supports file uploads. Enhance organization and tracking by adding sub-properties and referencing related issues.

  • Cycles Maintain your team’s momentum with Cycles. Track progress effortlessly using burn-down charts and other insightful tools.

  • Modules Simplify complex projects by dividing them into smaller, manageable modules.

  • Views Customize your workflow by creating filters to display only the most relevant issues. Save and share these views with ease.

  • Pages Capture and organize ideas using Plane Pages, complete with AI capabilities and a rich text editor. Format text, insert images, add hyperlinks, or convert your notes into actionable items.

  • Analytics Access real-time insights across all your Plane data. Visualize trends, remove blockers, and keep your projects moving forward.

🛠️ Local development

See CONTRIBUTING

⚙️ Built with

React Router Django Node JS

📸 Screenshots

Plane Views

Plane Cycles and Modules

Plane Analytics

Plane Pages

📝 Documentation

Explore Plane's product documentation and developer documentation to learn about features, setup, and usage.

❤️ Community

Join the Plane community on GitHub Discussions and our Forum. We follow a Code of conduct in all our community channels.

Feel free to ask questions, report bugs, participate in discussions, share ideas, request features, or showcase your projects. We’d love to hear from you!

🛡️ Security

If you discover a security vulnerability in Plane, please report it responsibly instead of opening a public issue. We take all legitimate reports seriously and will investigate them promptly. See Security policy for more info.

To disclose any security issues, please email us at security@plane.so.

🤝 Contributing

There are many ways you can contribute to Plane:

Please read CONTRIBUTING.md for details on the process for submitting pull requests to us.

Repo activity

Plane Repo Activity

We couldn't have done this without you.

License

This project is licensed under the GNU Affero General Public License v3.0.