Skip to content

docs(security): bring change of https://github.com/expressjs/.github/pull/16 and https://github.com/expressjs/.github/pull/15 #6543

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
55 changes: 39 additions & 16 deletions Security.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,32 +7,55 @@ project.
* [Disclosure Policy](#disclosure-policy)
* [Comments on this Policy](#comments-on-this-policy)

## Reporting a Bug
## Reporting a Bug or Security Vulnerability

The Express team and community take all security bugs in Express seriously.
Thank you for improving the security of Express. We appreciate your efforts and
responsible disclosure and will make every effort to acknowledge your
contributions.
The Express team and community take all security vulnerabilities seriously.
Thank you for improving the security of Express and related projects.
We appreciate your efforts in responsible disclosure and will make every effort
to acknowledge your contributions.

Report security bugs by emailing `[email protected]`.
A [Security triage team member](https://github.com/expressjs/security-wg#security-triage-team)
or [the repo captain](https://github.com/expressjs/discussions/blob/HEAD/docs/contributing/captains_and_committers.md)
will acknowledge your report as soon as possible.
These timelines may extend when our triage
volunteers are away on holiday, particularly at the end of the year.

To ensure the timely response to your report, please ensure that the entirety
of the report is contained within the email body and not solely behind a web
link or an attachment.

The lead maintainer will acknowledge your email within 48 hours, and will send a
more detailed response within 48 hours indicating the next steps in handling
your report. After the initial reply to your report, the security team will
After the initial reply to your report, the security team will
endeavor to keep you informed of the progress towards a fix and full
announcement, and may ask for additional information or guidance.

Report security bugs in third-party modules to the person or team maintaining
the module.
> [!NOTE]
> You can find more information about our process in [this guide](https://github.com/expressjs/security-wg/blob/main/docs/handle_security_reports.md)

### Reporting Security Bugs via GitHub Security Advisory (Preferred)

The preferred way to report security vulnerabilities is through
[GitHub Security Advisories](https://github.com/advisories).
This allows us to collaborate on a fix while maintaining the
confidentiality of the report.

To report a vulnerability
([docs](https://docs.github.com/en/code-security/security-advisories/guidance-on-reporting-and-writing-information-about-vulnerabilities/privately-reporting-a-security-vulnerability)):

1. Visit the **Security** tab of the affected repository on GitHub.
2. Click **Report a vulnerability** and follow the provided steps.

This process applies to any repositories within the Express ecosystem.
If you are unsure whether a repository falls under this policy,
feel free to reach out via email.

### Reporting via Email

If you prefer, you can also report security issues by emailing `[email protected]`.

To ensure a timely response, please include all relevant details directly in the email body rather than linking to external sources or attaching files.

The lead maintainer will acknowledge your email within 48 hours and provide an initial response outlining the next steps. The security team will keep you updated on the progress and may request additional details.

## Pre-release Versions

Alpha and Beta releases are unstable and **not suitable for production use**.
Vulnerabilities found in pre-releases should be reported according to the [Reporting a Bug](#reporting-a-bug) section.
Vulnerabilities found in pre-releases should be reported according to the [Reporting a Bug or Security Vulnerability](#reporting-a-bug-or-security-vulnerability) section.
Due to the unstable nature of the branch it is not guaranteed that any fixes will be released in the next pre-release.

## Disclosure Policy
Expand Down