Skip to the content
Documentation
Help Start
Reading in:
  • German: 9,075 of 9,075 pages
About the help in other languages
All help pages

A security policy for a theme

Write a SECURITY.md for a theme - supported versions, a private way to report, what to include, what reporters can expect - modeled on the policy of the Exponential repository.

Download as PDF

Address: https://doc.exponential.earth/exphelp/viewer/help/designers/distribution/security-policy-for-a-theme.md

On this page

A security policy for a theme

This page is for designers publishing a theme. Themes contain code: templates that print user input, scripts, sometimes PHP. A vulnerability report needs a private path to you, or it ends up as a public issue that helps attackers first.

The model: Exponential's own policy

The SECURITY.md at the root of the Exponential repository has three parts:

  1. Supported versions: which line gets fixes, and that a published tag is never changed; a fix arrives as the next release.
  2. Reporting: report privately by email, not in the public issue tracker, with a stated first-response time.
  3. What to include: the version, the PHP version, the server engine and database, what an attacker can do, the steps to reproduce, and no passwords, secrets or personal data.

It ends with what the reporter is told and when.

Step by step

  1. Create SECURITY.md at the root of the theme:

    # Security Policy
    
    ## Supported versions
    
    The newest 1.0.x release gets security fixes. A published tag is never changed: a fix arrives as the
    next release.
    
    ## Reporting a vulnerability
    
    Please report security issues privately to <your security address>, not in the public issues.
    Include the theme version, the Exponential and PHP versions, what an attacker can do and how to
    reproduce it. Leave out passwords and personal data.
    
    You will get an answer within <a time you can keep>.
  2. Use an address that more than one person reads, if you can.

  3. On GitHub you can also enable private vulnerability reporting for the repository (Settings > Security), which gives reporters a private form.

  4. Link SECURITY.md from the README's support section.

Become an Exponential Partner

Partners share their information, provide funding, contribute back and develop the products with us, and that is how Exponential grows. A partner website and dashboard are planned for mid-2027: please become a partner today to speed up our growth rate and land new features faster.

Something wrong on this page? Report an error

Documentation license

This documentation is free documentation, licensed under the GNU Free Documentation License 1.3 or later.

Exponential Copyright © 1998-2026 Exponential Foundation and 7x