# Vulnerabilitat i gestió d’incidències

<a id="security"></a>

## Product vulnerability reports

#### SEE ALSO
Si us plau, llegiu [Ús de la IA per crear problemes](https://docs.weblate.org/ca/latest/contributing/issues.md#ai-issues) en cas que hàgiu utilitzat IA per descobrir un problema de seguretat a Weblate.

L’equip de desenvolupament de Weblate està fermament compromès amb l’informe responsable i la divulgació de problemes relacionats amb la seguretat. Hem adoptat i seguim polítiques orientades a oferir actualitzacions de seguretat oportunes a Weblate.

Product vulnerability reports cover security issues in Weblate source code,
release artifacts, and documented Weblate security properties. They do not
replace operational incident response for a particular deployment.

Reports concerning the separately distributed Weblate Client (`wlc`) are
evaluated against the [wlc threat model](https://github.com/WeblateOrg/wlc/blob/main/THREAT_MODEL.md), which documents
its intended trust boundaries, supported security properties, and explicit
non-goals.

Report low and medium severity security issues in our public [GitHub issues
tracker](https://github.com/WeblateOrg/weblate/issues). These reports are
discussed and fixed publicly through the normal development process.

Report high and critical severity vulnerabilities privately to
[security@weblate.org](mailto:security@weblate.org), through
[GitHub](https://github.com/WeblateOrg/weblate/security/advisories/new),
or using [HackerOne](https://hackerone.com/weblate). Do not open public
issues for these vulnerabilities. Please describe the issue, affected
versions, and steps to reproduce it, if known.

If you are unsure of the severity, you may start through a private channel.
If the security team assesses a privately reported issue as low or medium
severity, we will ask you to continue in a public GitHub issue. Redirecting a
report does not itself confirm that the issue is a vulnerability.

Public discussion allows the community to help review and fix low and medium
severity issues. Private coordination focuses on vulnerabilities with serious
impact, reducing the risk to users while a fix is prepared. This approach is
similar to the [curl vulnerability disclosure policy](https://curl.se/dev/vuln-disclosure.html).

Self-hosted operators should use this process when they believe an incident in
their own deployment is caused by a Weblate product vulnerability. Local
containment, recovery, customer notification, provider escalation, and other
deployment-specific incident response remain the operator’s responsibility.

A member of the security team will respond to private reports within 48 hours,
and depending on what action is taken, you may get more follow-up emails.
Suspected active exploitation and severe security incidents receive immediate
internal attention under [Incident reporting](https://docs.weblate.org/ca/latest/security/incident-reporting.md). Acknowledging a report or
completing an investigation does not postpone reporting deadlines.

#### NOTE
**Enviament d’informes xifrats**

Si voleu enviar un correu electrònic xifrat (*opcional*), utilitzeu la clau pública de [security@weblate.org](mailto:security@weblate.org) amb ID `8EA7 6E43 0976 3323 C2E3 D5A0 C472 9F23 8A80 EA93`.

Aquesta clau pública està disponible als servidors de claus més utilitzats, utilitzant WKD o [directament des de weblate.org](https://weblate.org/.well-known/openpgpkey/hu/t5s8ztdbon8yzntexy6oz5y48etqsnbb?l=security).

#### HINT
Weblate depends on third-party components for many things. In case
you find a vulnerability affecting one of those components in general,
please report it directly to the respective project.
If it also affects a shipped Weblate artifact or a Weblate deployment,
report that impact to Weblate using the severity-based process above.

Alguns d’aquests són:

* [Django](https://docs.djangoproject.com/en/stable/internals/security/)
* [Marc Django REST](https://www.django-rest-framework.org/#security)
* [Autenticació social de Python](https://github.com/python-social-auth)

#### SEE ALSO
* [Informeu de problemes a Weblate](https://docs.weblate.org/ca/latest/contributing/issues.md)

<a id="security-research"></a>

## Security research and testing

When researching security issues in Weblate:

* Use the [Sandbox translation project](https://hosted.weblate.org/projects/sandbox/) for testing on Hosted Weblate.
* Only interact with accounts you own or have explicit permission from the
  account holder to use.
* Avoid privacy violations, data destruction, and service interruption or
  degradation.
* Do not perform denial-of-service attacks, spam, social engineering (including
  phishing), or physical attacks.
* Obtain explicit permission from the operator before testing other deployments.

You may report availability vulnerabilities demonstrated safely in an
environment you control. The prohibition on disruptive testing does not exclude
these reports.

## Weblate-operated service incidents

Operational incidents affecting Hosted Weblate, Dedicated Weblate, or other
deployments operated by Weblate s.r.o. are handled using
[Incident response plan for Weblate](https://docs.weblate.org/ca/latest/security/incident-response-plan.md).

When such an incident also involves a Weblate product vulnerability, the
vulnerability report and any public advisory follow the severity-based product
vulnerability reporting process and [Política de divulgació de vulnerabilitats](#vulnerability-disclosure-policy) on
this page.

## Self-hosted deployment incidents

Operators of self-hosted Weblate deployments are responsible for their local
incident response process, including containment, recovery, notification, and
provider-specific escalation. The Weblate-operated
[Incident response plan for Weblate](https://docs.weblate.org/ca/latest/security/incident-response-plan.md) can be used as a reference, but it is
not a maintained incident response plan for third-party deployments.

If a self-hosted incident appears to be caused by a Weblate product
vulnerability, report it using the product vulnerability reporting process
above.

<a id="vulnerability-disclosure-policy"></a>

## Política de divulgació de vulnerabilitats

Weblate publishes security advisories only for high and critical severity
vulnerabilities. These vulnerabilities are handled privately until coordinated
disclosure, with an advisory published alongside a release containing the fix
at [https://github.com/WeblateOrg/weblate/security/advisories](https://github.com/WeblateOrg/weblate/security/advisories).
Advisories identify affected versions, impact, severity, and steps users can
take to remediate the vulnerability.

Weblate does not publish security advisories for low or medium severity issues.
Their fixes follow the normal public development process and are documented in
the release notes.

Technical details may be delayed when publishing them would create greater
security risks than benefits while users apply the fix. The incident handler
records the reason and a review date in the private incident note. This does
not delay authority reports or protective advice users need.

<a id="incident-authority-reporting"></a>

## Authority reporting

Weblate adopts the following reporting timelines as a voluntary policy
baseline for actively exploited Weblate product vulnerabilities and severe
product-security incidents. This includes affected shipped dependencies and
incidents learned about through self-hosted deployments. Severe security
incidents affecting Weblate-operated services also follow this baseline.

| Informa                                              | Deadline                                                                       |
|------------------------------------------------------|--------------------------------------------------------------------------------|
| Early warning                                        | Without undue delay, within 24 hours of awareness.                             |
| Main notification                                    | Without undue delay, within 72 hours of awareness.                             |
| Final report for an actively exploited vulnerability | Within 14 days after a corrective or mitigating measure becomes<br/>available. |
| Final report for a severe incident                   | Within one calendar month after the main incident notification.                |

Hours include weekends and holidays. Acknowledgment, incident declaration,
handover, or completion of an investigation does not restart these clocks.
When an event involves both active exploitation and a severe incident, track
both reporting obligations and final-report deadlines.

These timelines follow the [European Commission reporting guidance](https://digital-strategy.ec.europa.eu/en/policies/cra-reporting). The
incident handler records whether mandatory or voluntary reporting applies and
uses the corresponding route. For CRA reporting, the Single Reporting
Platform routes notifications to the coordinating CSIRT and ENISA. This policy
does not determine Weblate’s regulatory role or claim compliance; see
[Product and contact information](https://docs.weblate.org/ca/latest/security/product-information.md).

For classification, submission steps, and private incident records, see
[Incident reporting](https://docs.weblate.org/ca/latest/security/incident-reporting.md).

## User notifications

Weblate informs impacted users of active exploitation or severe security
incidents without undue delay, including available mitigations and corrective
actions. Where appropriate, warnings address all users. Known affected contacts,
including Hosted and Dedicated Weblate customers, receive e-mail notifications.
For high and critical severity vulnerabilities, public GitHub security
advisories provide warnings and updates for self-hosted users whose contact
details are not known. Low and medium severity issues are tracked in public
GitHub issues and release notes. The severity-based reporting and advisory
policy does not delay required authority reports or protective advice to users.

Initial warnings can provide protective advice before a fix or detailed
vulnerability disclosure is ready. Authority reporting, user warnings, and
publication of technical details proceed separately as needed.

Personal-data breaches also require a separate assessment of
[notifications to affected individuals](https://docs.weblate.org/ca/latest/security/incident-response-plan.md#incident-gdpr-notification),
even when there is no active exploitation or severe product-security incident.
