Skip to content

Commit 7a68ed1

Browse files
committed
Prepare to release 2.8.1
1 parent 5c0c4c8 commit 7a68ed1

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

CHANGELOG.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,13 @@ Updates should follow the [Keep a CHANGELOG](https://keepachangelog.com/) princi
66

77
## [Unreleased][unreleased]
88

9+
## [2.8.1] - 2026-03-05
10+
11+
This is a **security release** to address an issue where `DisallowedRawHtml` can be bypassed, resulting in a possible cross-site scripting (XSS) vulnerability.
12+
13+
### Fixed
14+
- Fixed `DisallowedRawHtmlRenderer` not blocking raw HTML tags with trailing ASCII whitespace (GHSA-4v6x-c7xx-hw9f)
15+
916
## [2.8.0] - 2025-11-26
1017

1118
### Added
@@ -717,7 +724,8 @@ No changes were introduced since the previous release.
717724
- Alternative 1: Use `CommonMarkConverter` or `GithubFlavoredMarkdownConverter` if you don't need to customize the environment
718725
- Alternative 2: Instantiate a new `Environment` and add the necessary extensions yourself
719726

720-
[unreleased]: https://github.com/thephpleague/commonmark/compare/2.8.0...HEAD
727+
[unreleased]: https://github.com/thephpleague/commonmark/compare/2.8.1...HEAD
728+
[2.8.1]: https://github.com/thephpleague/commonmark/compare/2.8.0...2.8.1
721729
[2.8.0]: https://github.com/thephpleague/commonmark/compare/2.7.1...2.8.0
722730
[2.7.1]: https://github.com/thephpleague/commonmark/compare/2.7.0...2.7.1
723731
[2.7.0]: https://github.com/thephpleague/commonmark/compare/2.6.2...2.7.0

0 commit comments

Comments
 (0)