dependabot[bot] opened a new pull request, #19:
URL: https://github.com/apache/sling-org-apache-sling-xss/pull/19

   Bumps [antisamy](https://github.com/nahsra/antisamy) from 1.6.4 to 1.6.7.
   <details>
   <summary>Release notes</summary>
   <p><em>Sourced from <a 
href="https://github.com/nahsra/antisamy/releases";>antisamy's 
releases</a>.</em></p>
   <blockquote>
   <h2>Release version 1.6.7</h2>
   <p>This release addresses a minor issue in the security fixes implemented in 
1.6.6. While those fixes addressed most of the security concerns in the 
security issue reported to us by the researcher, our fix had a minor bug that 
allowed something to sneak through. This release fixes that, and includes the 
changes from 1.6.6.1 that compile AntiSamy.jar to Java 7 bytecode.</p>
   <h2>Release version 1.6.6.1</h2>
   <p>The 1.6.6.1 release corrects a minor issue in the 1.6.6 release:</p>
   <p>We accidentally upgraded the byte code generated for antisamy.jar to be 
Java 8, when it can still be Java 7. So this release generates a Java 7 jar 
file instead. This allows Java 7 projects to use AntiSamy 1.6.6.1 by doing the 
following:</p>
   <p>Exclude the 2 Java 8 dependencies we currently use:</p>
   <ul>
   <li>commons-o:commons-io:2.11.0</li>
   <li>net.sourceforge.htmlunit:neko-htmlunit:2.60.0</li>
   </ul>
   <p>You then import and use the last Java 7 versions of these libraries:</p>
   <ul>
   <li>commons-io:commons-io:2.6</li>
   <li>net.sourceforge.htmlunit:neko-htmlunit:2.24</li>
   </ul>
   <p>A few plugins were upgraded and some were added but none of the 
dependencies were changed.</p>
   <hr />
   <p>The previous 1.6.6 release addressed the following issues:</p>
   <ol>
   <li>This release fixes 3 security issues reported by researcher Hyeongkwan 
Lee</li>
   </ol>
   <p>CVEs for these have not been created yet, so we are not providing any 
details on the issues at this time.</p>
   <ol start="2">
   <li>
   <p>Enhancement <a 
href="https://github-redirect.dependabot.com/nahsra/antisamy/issues/147";>#147</a>:
 Add require-closing-tags to default AntiSamy policy file</p>
   </li>
   <li>
   <p>Bug <a 
href="https://github-redirect.dependabot.com/nahsra/antisamy/issues/151";>#151</a>:
 Change in behavior between 1.6.4 and 1.6.5 for getErrorMessages</p>
   </li>
   </ol>
   <p>We accidentally stopped propagating an errorMessages parameter in 1 API. 
This is now fixed.</p>
   <p>NOTIFICATION 1: This 1.6.6 release has 2 dependencies which require Java 
8, although the AntiSamy source code itself still only requires Java 7.</p>
   <p>NOTIFICATION 2: The 1.7.0 release will drop support for several things 
deprecated in the 1.6.x series of releases.</p>
   <p>a) AntiSamy 1.6.0 introduced XML schema validation for AntiSamy policy 
files to address issue <a 
href="https://github-redirect.dependabot.com/nahsra/antisamy/issues/58";>#58</a>.
 In all the 1.6.X releases, enforcement of schema validation is optional, with 
warnings generated to indicate it should be enforced. Starting with AntiSamy 
1.7.0 this will no longer be optional.</p>
   <p>To support this new feature, but keep it optional, 2 new Policy class 
methods were created, and immediately deprecated:</p>
   <p>public static boolean getSchemaValidation()
   public static void setSchemaValidation(boolean enable)</p>
   <p>These two methods will be dropped in the 1.7.0 release, and any AntiSamy 
policy files that fail schema validation will result in an error and have to be 
fixed.</p>
   <p>b) AntiSamy 1.6.5 changed some APIs. Specifically:</p>
   <p>These constructors are now <a 
href="https://github.com/Deprecated";><code>@​Deprecated</code></a>:</p>
   <p>public CssHandler(Policy policy, LinkedList<!-- raw HTML omitted --> 
embeddedStyleSheets, List<!-- raw HTML omitted --> errorMessages, 
ResourceBundle messages)</p>
   <!-- raw HTML omitted -->
   </blockquote>
   <p>... (truncated)</p>
   </details>
   <details>
   <summary>Commits</summary>
   <ul>
   <li><a 
href="https://github.com/nahsra/antisamy/commit/a42865ce3956c0e1c8c1993533209d825ff9a19b";><code>a42865c</code></a>
 Merge pull request <a 
href="https://github-redirect.dependabot.com/nahsra/antisamy/issues/168";>#168</a>
 from nahsra/1.6.7</li>
   <li><a 
href="https://github.com/nahsra/antisamy/commit/a0ec25d2ec70b794e6a78f6251c21735696ea832";><code>a0ec25d</code></a>
 Update pom to reflect 1.6.7 release.</li>
   <li><a 
href="https://github.com/nahsra/antisamy/commit/32e273507da0e964b58c50fd8a4c94c9d9363af0";><code>32e2735</code></a>
 Fix child node removal on style tag processing</li>
   <li><a 
href="https://github.com/nahsra/antisamy/commit/b6e76de85a07549f2c97941437dd73430d7287a8";><code>b6e76de</code></a>
 Update pom.xml so it builds Java 7 bytecode instead of Java 8, which</li>
   <li><a 
href="https://github.com/nahsra/antisamy/commit/99b1143bd2219c7645a8d68ca856a51e67f7bbfa";><code>99b1143</code></a>
 Mention new security issues fixed in 1.6.6 release.</li>
   <li><a 
href="https://github.com/nahsra/antisamy/commit/5d58ffa4fbdd59fee42a81478bdd3f27fbe84cab";><code>5d58ffa</code></a>
 Fix 2 issues reported by SpotBugs in new code for this release. Fix two</li>
   <li><a 
href="https://github.com/nahsra/antisamy/commit/5bf2038ea6de6eeb2dd7ae143faa89d85b2853e7";><code>5bf2038</code></a>
 Merge pull request <a 
href="https://github-redirect.dependabot.com/nahsra/antisamy/issues/162";>#162</a>
 from nahsra/1.6.6</li>
   <li><a 
href="https://github.com/nahsra/antisamy/commit/513c02d6afd85714688fd949bce827b7ca401198";><code>513c02d</code></a>
 Add CssScannerTest class</li>
   <li><a 
href="https://github.com/nahsra/antisamy/commit/a6d1dd80f0867002060e33c809c8c9289daa7176";><code>a6d1dd8</code></a>
 Add setConnectTimeout back in CssScanner</li>
   <li><a 
href="https://github.com/nahsra/antisamy/commit/eaa10c65ef9d3b118b9ba7465d845bb834684612";><code>eaa10c6</code></a>
 Merge pull request <a 
href="https://github-redirect.dependabot.com/nahsra/antisamy/issues/159";>#159</a>
 from hazendaz/test-1.6.5-with-main</li>
   <li>Additional commits viewable in <a 
href="https://github.com/nahsra/antisamy/compare/v1.6.4...v1.6.7";>compare 
view</a></li>
   </ul>
   </details>
   <br />
   
   
   [![Dependabot compatibility 
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=org.owasp.antisamy:antisamy&package-manager=maven&previous-version=1.6.4&new-version=1.6.7)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
   
   Dependabot will resolve any conflicts with this PR as long as you don't 
alter it yourself. You can also trigger a rebase manually by commenting 
`@dependabot rebase`.
   
   [//]: # (dependabot-automerge-start)
   [//]: # (dependabot-automerge-end)
   
   ---
   
   <details>
   <summary>Dependabot commands and options</summary>
   <br />
   
   You can trigger Dependabot actions by commenting on this PR:
   - `@dependabot rebase` will rebase this PR
   - `@dependabot recreate` will recreate this PR, overwriting any edits that 
have been made to it
   - `@dependabot merge` will merge this PR after your CI passes on it
   - `@dependabot squash and merge` will squash and merge this PR after your CI 
passes on it
   - `@dependabot cancel merge` will cancel a previously requested merge and 
block automerging
   - `@dependabot reopen` will reopen this PR if it is closed
   - `@dependabot close` will close this PR and stop Dependabot recreating it. 
You can achieve the same result by closing it manually
   - `@dependabot ignore this major version` will close this PR and stop 
Dependabot creating any more for this major version (unless you reopen the PR 
or upgrade to it yourself)
   - `@dependabot ignore this minor version` will close this PR and stop 
Dependabot creating any more for this minor version (unless you reopen the PR 
or upgrade to it yourself)
   - `@dependabot ignore this dependency` will close this PR and stop 
Dependabot creating any more for this dependency (unless you reopen the PR or 
upgrade to it yourself)
   - `@dependabot use these labels` will set the current labels as the default 
for future PRs for this repo and language
   - `@dependabot use these reviewers` will set the current reviewers as the 
default for future PRs for this repo and language
   - `@dependabot use these assignees` will set the current assignees as the 
default for future PRs for this repo and language
   - `@dependabot use this milestone` will set the current milestone as the 
default for future PRs for this repo and language
   
   You can disable automated security fix PRs for this repo from the [Security 
Alerts 
page](https://github.com/apache/sling-org-apache-sling-xss/network/alerts).
   
   </details>


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to