GHSA-xp26-p53h-6h2p
Vulnerability from github
Published
2022-05-13 01:13
Modified
2024-09-30 20:17
Summary
Improper Neutralization of Input During Web Page Generation in LXML
Details

An issue was discovered in lxml before 4.2.5. lxml/html/clean.py in the lxml.html.clean module does not remove javascript: URLs that use escaping, allowing a remote attacker to conduct XSS attacks, as demonstrated by "j a v a s c r i p t:" in Internet Explorer. This is a similar issue to CVE-2014-3146.

Show details on source website


{
   affected: [
      {
         package: {
            ecosystem: "PyPI",
            name: "lxml",
         },
         ranges: [
            {
               events: [
                  {
                     introduced: "0",
                  },
                  {
                     fixed: "4.2.5",
                  },
               ],
               type: "ECOSYSTEM",
            },
         ],
      },
   ],
   aliases: [
      "CVE-2018-19787",
   ],
   database_specific: {
      cwe_ids: [
         "CWE-79",
      ],
      github_reviewed: true,
      github_reviewed_at: "2022-06-28T23:26:59Z",
      nvd_published_at: "2018-12-02T10:29:00Z",
      severity: "MODERATE",
   },
   details: "An issue was discovered in lxml before 4.2.5. lxml/html/clean.py in the lxml.html.clean module does not remove javascript: URLs that use escaping, allowing a remote attacker to conduct XSS attacks, as demonstrated by \"j a v a s c r i p t:\" in Internet Explorer. This is a similar issue to CVE-2014-3146.",
   id: "GHSA-xp26-p53h-6h2p",
   modified: "2024-09-30T20:17:21Z",
   published: "2022-05-13T01:13:21Z",
   references: [
      {
         type: "ADVISORY",
         url: "https://nvd.nist.gov/vuln/detail/CVE-2018-19787",
      },
      {
         type: "WEB",
         url: "https://github.com/lxml/lxml/commit/6be1d081b49c97cfd7b3fbd934a193b668629109",
      },
      {
         type: "ADVISORY",
         url: "https://github.com/advisories/GHSA-xp26-p53h-6h2p",
      },
      {
         type: "WEB",
         url: "https://github.com/lxml/lxml",
      },
      {
         type: "WEB",
         url: "https://github.com/pypa/advisory-database/tree/main/vulns/lxml/PYSEC-2018-12.yaml",
      },
      {
         type: "WEB",
         url: "https://lists.debian.org/debian-lts-announce/2018/12/msg00001.html",
      },
      {
         type: "WEB",
         url: "https://lists.debian.org/debian-lts-announce/2020/11/msg00044.html",
      },
      {
         type: "WEB",
         url: "https://usn.ubuntu.com/3841-1",
      },
      {
         type: "WEB",
         url: "https://usn.ubuntu.com/3841-2",
      },
   ],
   schema_version: "1.4.0",
   severity: [
      {
         score: "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N",
         type: "CVSS_V3",
      },
      {
         score: "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N",
         type: "CVSS_V4",
      },
   ],
   summary: "Improper Neutralization of Input During Web Page Generation in LXML",
}


Log in or create an account to share your comment.

Security Advisory comment format.

This schema specifies the format of a comment related to a security advisory.

UUIDv4 of the comment
UUIDv4 of the Vulnerability-Lookup instance
When the comment was created originally
When the comment was last updated
Title of the comment
Description of the comment
The identifier of the vulnerability (CVE ID, GHSA-ID, PYSEC ID, etc.).



Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.