[Security] Bump lxml from 4.5.1 to 4.6.3
Bumps lxml from 4.5.1 to 4.6.3. This update includes security fixes.
Vulnerabilities fixed
Sourced from The GitHub Security Advisory Database.
Cross-Site Scripting in lxml lxml 4.6.2 allows XSS. It places the HTML action attribute into defs.link_attrs (in html/defs.py) for later use in input sanitization, but does not do the same for the HTML5 formaction attribute.
Affected versions: < 4.6.3
Sourced from The GitHub Security Advisory Database.
XSS in lxml A XSS vulnerability was discovered in python-lxml's clean module. The module's parser didn't properly imitate browsers, which caused different behaviors between the sanitizer and the user's page. A remote attacker could exploit this flaw to run arbitrary HTML/JS code.
Affected versions: < 4.6.2
Changelog
Sourced from lxml's changelog.
4.6.3 (2021-03-21)
Bugs fixed
- A vulnerability (CVE-2021-28957) was discovered in the HTML Cleaner by Kevin Chung, which allowed JavaScript to pass through. The cleaner now removes the HTML5
formactionattribute.4.6.2 (2020-11-26)
Bugs fixed
- A vulnerability (CVE-2020-27783) was discovered in the HTML Cleaner by Yaniv Nizry, which allowed JavaScript to pass through. The cleaner now removes more sneaky "style" content.
4.6.1 (2020-10-18)
Bugs fixed
- A vulnerability was discovered in the HTML Cleaner by Yaniv Nizry, which allowed JavaScript to pass through. The cleaner now removes more sneaky "style" content.
4.6.0 (2020-10-17)
Features added
GH#310:
lxml.html.InputGettersupports__len__()to count the number of input fields. Patch by Aidan Woolley.
lxml.html.InputGetterhas a new.items()method to ease processing all input fields.
lxml.html.InputGetter.keys()now returns the field names in document order.GH-309: The API documentation is now generated using
sphinx-apidoc. Patch by Chris Mayo.Bugs fixed
... (truncated)
Commits
a5f9cb5Prepare release of lxml 4.6.3.2d01a1bAdd HTML-5 "formaction" attribute to "defs.link_attrs" (GH-316)e986a9cFix reference in docs.4cb5736Work around Py2's lack of "re.ASCII".c30106fPrepare release of 4.6.2.a105ab8Prevent combinations of <math/svg> and <style> to sneak JavaScript through th...c053dc1Add a recipe for a look-ahead generator to allow modifications during tree it...b083124lxml actually works in Py3.9.0f80590lxml actually works in Py3.9.fd8893cAdd a doc note that the .find() methods are usually faster than one might exp...- Additional commits viewable in compare view
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.
If all status checks pass Dependabot will automatically merge this pull request.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
-
@dependabot rebasewill rebase this PR -
@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it -
@dependabot mergewill merge this PR after your CI passes on it -
@dependabot squash and mergewill squash and merge this PR after your CI passes on it -
@dependabot cancel mergewill cancel a previously requested merge and block automerging -
@dependabot reopenwill reopen this PR if it is closed -
@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot ignore this major versionwill 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 versionwill 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 dependencywill 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 labelswill set the current labels as the default for future PRs for this repo and language -
@dependabot use these reviewerswill set the current reviewers as the default for future PRs for this repo and language -
@dependabot use these assigneeswill set the current assignees as the default for future PRs for this repo and language -
@dependabot use this milestonewill set the current milestone as the default for future PRs for this repo and language -
@dependabot badge mewill comment on this PR with code to add a "Dependabot enabled" badge to your readme
Additionally, you can set the following in your Dependabot dashboard:
- Update frequency (including time of day and day of week)
- Pull request limits (per update run and/or open at any time)
- Automerge options (never/patch/minor, and dev/runtime dependencies)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)