Skip to content

Releases: OWASP/java-html-sanitizer

Release 20240325.1

25 Mar 18:40
release-20240325.1
dd8c6a4
Compare
Choose a tag to compare
  • Remove dependency on Guava
  • Raise minimum supported JVM release to 8
  • HTML: Avoid duplicate link rel values.
  • HTML: Recognize foreign content syntactic context: mathml / svg.
  • CSS: Better support for font-size, overflow-wrap, word-break.
  • CSS: Better child combinator parsing.
  • Bug: Fixed out of bounds when mixing global style attribute with others.
  • Special thanks to (in lexicographic order):
    Claudio Weiler, Josh England, Prakhar Maurya, Sven Strickroth, subbudvk

Release 20220608.1

08 Jun 17:17
release-20220608.1
e35ef4f
Compare
Choose a tag to compare

Release 20220608.1

  • Fix bugs in CSS tokenization
  • Fix deocding of HTML character references that lack semicolons
    like &para in HTML attribute values that affected
    URL query parameters.

v20211018.2

18 Oct 20:18
release-20211018.2
62a0715
Compare
Choose a tag to compare

Changes how we avoid problems with special tags inside <select> elements. Instead of complicating the rendering of <style> elements in all cases, now we just close special elements when they are embedded in <select> elements so no text under a <select> is interpreted as anything other than PCDATA.

This is a follow on to https://docs.google.com/document/d/11SoX296sMS0XoQiQbpxc5pNxSdbJKDJkm5BDv0zrX50/edit#heading=h.ff1sdefzjxrx and we recommend using it over v20211018.1.

20211018.1

18 Oct 13:44
release-20211018.1
374ea2f
Compare
Choose a tag to compare

20200713.1

13 Jul 15:55
release-20200713.1
25c3d64
Compare
Choose a tag to compare

Improves SVG and MathML support.
Now policies don't lower-case element and attribute names that are defined in either the SVG or MathML schemas.

Be aware that SVG's <textArea> is now distinct from HTML's <textarea>.

20190610.1

10 Jun 20:58
release-20190610.1
969786d
Compare
Choose a tag to compare
  • Recognize HTML entity names added in the last few years. Now &name; will work consistently.

19 Feb 2018

19 Feb 16:11
release-20180219.1
bd515a7
Compare
Choose a tag to compare