Cross-site Scripting (XSS) The advisory has been revoked - it doesn't affect any version of package python2-pymongo  (opens in a new tab)


Threat Intelligence

EPSS
4.03% (90th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-RHEL8-PYTHON2PYMONGO-1916146
  • published26 Jul 2021
  • disclosed21 Mar 2021

Introduced: 21 Mar 2021

CVE-2021-28957  (opens in a new tab)
CWE-79  (opens in a new tab)

Amendment

The Red Hat security team deemed this advisory irrelevant for RHEL:8.

NVD Description

Note: Versions mentioned in the description apply only to the upstream python2-pymongo package and not the python2-pymongo package as distributed by RHEL.

An XSS vulnerability was discovered in python-lxml's clean module versions before 4.6.3. When disabling the safe_attrs_only and forms arguments, the Cleaner class does not remove the formaction attribute allowing for JS to bypass the sanitizer. A remote attacker could exploit this flaw to run arbitrary JS code on users who interact with incorrectly sanitized HTML. This issue is patched in lxml 4.6.3.