Skip to content

Commit 2a0ac88

Browse files
committed
update CHANGELOG
1 parent 6b60637 commit 2a0ac88

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

CHANGELOG.md

+16
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,22 @@
22

33
Nokogiri follows [Semantic Versioning](https://semver.org/), please see the [README.md](README.md) for details.
44

5+
## 1.12.next / unreleased
6+
7+
### Security
8+
9+
[JRuby] Address CVE-2021-41098 ([GHSA-2rr5-8q37-2w7h](https://github.com/sparklemotion/nokogiri/security/advisories/GHSA-2rr5-8q37-2w7h)).
10+
11+
In Nokogiri v1.12.4 and earlier, on JRuby only, the SAX parsers resolve external entities (XXE) by default. This fix turns off entity-resolution-by-default in the JRuby SAX parsers to match the CRuby SAX parsers' behavior.
12+
13+
CRuby users are not affected by this CVE.
14+
15+
16+
### Fixed
17+
18+
* [CRuby] `Document#to_xhtml` properly serializes self-closing tags in libxml > 2.9.10. A behavior change introduced in libxml 2.9.11 resulted in emitting start and and tags (e.g., `<br></br>`) instead of a self-closing tag (e.g., `<br/>`) in previous Nokogiri versions. [[#2324](https://github.com/sparklemotion/nokogiri/issues/2324)]
19+
20+
521
## 1.12.4 / 2021-08-29
622

723
### Notable fix: Namespace inheritance

0 commit comments

Comments
 (0)