Rapid7 Vulnerability & Exploit Database

FreeBSD: VID-3D19C776-68E7-11EA-91DB-0050562A4D7B: www/py-bleach -- multiple vulnerabilities

Free InsightVM Trial No Credit Card Necessary
2024 Attack Intel Report Latest research by Rapid7 Labs
Back to Search

FreeBSD: VID-3D19C776-68E7-11EA-91DB-0050562A4D7B: www/py-bleach -- multiple vulnerabilities

Severity
4
CVSS
(AV:L/AC:M/Au:N/C:P/I:P/A:P)
Published
02/13/2020
Created
03/20/2020
Added
03/19/2020
Modified
03/19/2020

Description

* ``bleach.clean`` behavior parsing embedded MathML and SVG content

with RCDATA tags did not match browser behavior and could result in

a mutation XSS.

Calls to ``bleach.clean`` with ``strip=False`` and ``math`` or

``svg`` tags and one or more of the RCDATA tags ``script``,

``noscript``, ``style``, ``noframes``, ``iframe``, ``noembed``, or

``xmp`` in the allowed tags whitelist were vulnerable to a mutation

XSS.

* ``bleach.clean`` behavior parsing ``noscript`` tags did not match

browser behavior.

Calls to ``bleach.clean`` allowing ``noscript`` and one or more of

the raw text tags (``title``, ``textarea``, ``script``, ``style``,

``noembed``, ``noframes``, ``iframe``, and ``xmp``) were vulnerable

to a mutation XSS.

Solution(s)

  • freebsd-upgrade-package-py27-bleach
  • freebsd-upgrade-package-py35-bleach
  • freebsd-upgrade-package-py36-bleach
  • freebsd-upgrade-package-py37-bleach
  • freebsd-upgrade-package-py38-bleach

With Rapid7 live dashboards, I have a clear view of all the assets on my network, which ones can be exploited, and what I need to do in order to reduce the risk in my environment in real-time. No other tool gives us that kind of value and insight.

– Scott Cheney, Manager of Information Security, Sierra View Medical Center

;