Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Bleach is deprecated

Open
#438 0 comments 0 reactions 1 assignee View on GitHub

Maintainers usually reply within 3 days

@seansica is already working on this.

Since Jun 28, 2023.

Assessment

This issue has not been assessed yet.

Description

Per Mozilla, as of Jan 23, Bleach is deprecated: https://github.com/mozilla/bleach/issues/698#issue-1553425406

They will continue to provide security updates and bug fixes for approximately one year.

We need to replace Bleach.

ammonia looks like a promising solution but there may be others.

This is a good opportunity to refactor a bit. The process of sanitizing the HTML and generating the seed file (index.json) for the search index should be decoupled. There ought to be a separation of concerns between the generation of the website content and the generation of the search index.

Order of events:

  1. Build website (Pelican/update-attack.py)
  2. Generate seed file for search index (e.g., ammonia)
  3. Generate search index (attack-search --> npm/webpack)
Dominant language
HTML
Stars
590
Forks
175
Avg merge
2d 7h
Merged PRs (30d)
3

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from mitre-attack/attack-website

All issues in mitre-attack/attack-website

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.