CVE-2026-71497 (GCVE-0-2026-71497)

Vulnerability from cvelistv5 – Published: 2026-08-06 21:09 – Updated: 2026-08-07 14:37
VLAI
Title
jsoup: Cleaner may expose markup with custom raw-text elements
Summary
jsoup is a Java library for working with real-world HTML. From 1.14.3 until 1.23.1, jsoup's HTML parser could incorrectly handle a malformed tag name ending in a control character, causing the tag to acquire the parsing behavior of a different element. When a custom Safelist permits certain raw-text elements, this misparsing can cause content that should remain inert text to be emitted as active markup after serialization, potentially resulting in cross-site scripting. jsoup's built-in Safelists are not affected. This issue is fixed in version 1.23.1.
SSVC
Exploitation: none Automatable: no Technical Impact: partial
CISA Coordinator · CISA-ADP (v2.0.3)
Decision recorded 2026-08-07 14:37 UTC
CWE
  • CWE-79 - Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Assigner
GitHub_M CNA under the mitre root
CNA scorecard C 72/100 over 7838 records in the last 180 days details
Impacted products
Vendor Product Version CPE status
jhy jsoup Affected: >= 1.14.3, < 1.23.1
guessed Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "adp": [
      {
        "metrics": [
          {
            "other": {
              "content": {
                "id": "CVE-2026-71497",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "no"
                  },
                  {
                    "Technical Impact": "partial"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2026-08-07T14:37:48.066416Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2026-08-07T14:37:56.848Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      }
    ],
    "cna": {
      "affected": [
        {
          "product": "jsoup",
          "vendor": "jhy",
          "versions": [
            {
              "status": "affected",
              "version": "\u003e= 1.14.3, \u003c 1.23.1"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "jsoup is a Java library for working with real-world HTML. From 1.14.3 until 1.23.1, jsoup\u0027s HTML parser could incorrectly handle a malformed tag name ending in a control character, causing the tag to acquire the parsing behavior of a different element. When a custom Safelist permits certain raw-text elements, this misparsing can cause content that should remain inert text to be emitted as active markup after serialization, potentially resulting in cross-site scripting. jsoup\u0027s built-in Safelists are not affected. This issue is fixed in version 1.23.1."
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "attackComplexity": "HIGH",
            "attackVector": "NETWORK",
            "availabilityImpact": "NONE",
            "baseScore": 4.7,
            "baseSeverity": "MEDIUM",
            "confidentialityImpact": "LOW",
            "integrityImpact": "LOW",
            "privilegesRequired": "NONE",
            "scope": "CHANGED",
            "userInteraction": "REQUIRED",
            "vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N",
            "version": "3.1"
          }
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "cweId": "CWE-79",
              "description": "CWE-79: Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)",
              "lang": "en",
              "type": "CWE"
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-08-06T21:09:31.489Z",
        "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
        "shortName": "GitHub_M"
      },
      "references": [
        {
          "name": "https://github.com/jhy/jsoup/security/advisories/GHSA-pmhh-3w7g-xqp8",
          "tags": [
            "x_refsource_CONFIRM"
          ],
          "url": "https://github.com/jhy/jsoup/security/advisories/GHSA-pmhh-3w7g-xqp8"
        },
        {
          "name": "https://github.com/jhy/jsoup/issues/2538",
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "https://github.com/jhy/jsoup/issues/2538"
        },
        {
          "name": "https://github.com/jhy/jsoup/commit/92f1aca552548b484bc7d4b94c51e48b8e6eca70",
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "https://github.com/jhy/jsoup/commit/92f1aca552548b484bc7d4b94c51e48b8e6eca70"
        },
        {
          "name": "https://github.com/jhy/jsoup/releases/tag/jsoup-1.23.1",
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "https://github.com/jhy/jsoup/releases/tag/jsoup-1.23.1"
        }
      ],
      "source": {
        "advisory": "GHSA-pmhh-3w7g-xqp8",
        "discovery": "UNKNOWN"
      },
      "title": "jsoup: Cleaner may expose markup with custom raw-text elements"
    }
  },
  "cveMetadata": {
    "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
    "assignerShortName": "GitHub_M",
    "cveId": "CVE-2026-71497",
    "datePublished": "2026-08-06T21:09:31.489Z",
    "dateReserved": "2026-08-06T19:56:23.726Z",
    "dateUpdated": "2026-08-07T14:37:56.848Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-71497",
      "date": "2026-10-27",
      "epss": "0.00296",
      "percentile": "0.22085"
    },
    "microsoft_vex": {
      "current_release_date": "2026-10-18T01:47:22.000Z",
      "cve": "CVE-2026-71497",
      "id": "msrc_CVE-2026-71497",
      "initial_release_date": "2026-08-11T01:03:16.000Z",
      "product_status:fixed": "1",
      "product_status:known_affected": "1",
      "source": "Microsoft CSAF VEX",
      "status": "final",
      "title": "jsoup: Cleaner may expose markup with custom raw-text elements",
      "url": "https://msrc.microsoft.com/csaf/vex/2026/msrc_cve-2026-71497.json",
      "version": "4"
    },
    "nvd": {
      "cve": {
        "affected": [
          {
            "affectedData": [
              {
                "product": "jsoup",
                "vendor": "jhy",
                "versions": [
                  {
                    "status": "affected",
                    "version": "\u003e= 1.14.3, \u003c 1.23.1"
                  }
                ]
              }
            ],
            "source": "security-advisories@github.com"
          }
        ],
        "cveTags": [],
        "descriptions": [
          {
            "lang": "en",
            "value": "jsoup is a Java library for working with real-world HTML. From 1.14.3 until 1.23.1, jsoup\u0027s HTML parser could incorrectly handle a malformed tag name ending in a control character, causing the tag to acquire the parsing behavior of a different element. When a custom Safelist permits certain raw-text elements, this misparsing can cause content that should remain inert text to be emitted as active markup after serialization, potentially resulting in cross-site scripting. jsoup\u0027s built-in Safelists are not affected. This issue is fixed in version 1.23.1."
          },
          {
            "lang": "es",
            "value": "jsoup es una biblioteca Java para trabajar con HTML del mundo real. Desde la versi\u00f3n 1.14.3 hasta la 1.23.1, el analizador HTML de jsoup pod\u00eda manejar incorrectamente un nombre de etiqueta malformado que terminaba en un car\u00e1cter de control, lo que provocaba que la etiqueta adquiriera el comportamiento de an\u00e1lisis de un elemento diferente. Cuando una Safelist personalizada permite ciertos elementos de texto sin formato, este an\u00e1lisis incorrecto puede hacer que el contenido que deber\u00eda permanecer como texto inerte se emita como marcado activo despu\u00e9s de la serializaci\u00f3n, lo que podr\u00eda resultar en cross-site scripting. Las Safelists integradas de jsoup no se ven afectadas. Este problema se ha solucionado en la versi\u00f3n 1.23.1."
          }
        ],
        "id": "CVE-2026-71497",
        "lastModified": "2026-10-24T15:10:00.190",
        "metrics": {
          "cvssMetricV31": [
            {
              "cvssData": {
                "attackComplexity": "HIGH",
                "attackVector": "NETWORK",
                "availabilityImpact": "NONE",
                "baseScore": 4.7,
                "baseSeverity": "MEDIUM",
                "confidentialityImpact": "LOW",
                "integrityImpact": "LOW",
                "privilegesRequired": "NONE",
                "scope": "CHANGED",
                "userInteraction": "REQUIRED",
                "vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N",
                "version": "3.1"
              },
              "exploitabilityScore": 1.6,
              "impactScore": 2.7,
              "source": "security-advisories@github.com",
              "type": "Secondary"
            }
          ],
          "ssvcV203": [
            {
              "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
              "ssvcData": {
                "id": "CVE-2026-71497",
                "options": [
                  {
                    "exploitation": "none"
                  },
                  {
                    "automatable": "no"
                  },
                  {
                    "technicalImpact": "partial"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2026-08-07T14:37:48.066416Z",
                "version": "2.0.3"
              }
            }
          ]
        },
        "published": "2026-08-06T22:18:32.043",
        "references": [
          {
            "source": "security-advisories@github.com",
            "url": "https://github.com/jhy/jsoup/commit/92f1aca552548b484bc7d4b94c51e48b8e6eca70"
          },
          {
            "source": "security-advisories@github.com",
            "url": "https://github.com/jhy/jsoup/issues/2538"
          },
          {
            "source": "security-advisories@github.com",
            "url": "https://github.com/jhy/jsoup/releases/tag/jsoup-1.23.1"
          },
          {
            "source": "security-advisories@github.com",
            "url": "https://github.com/jhy/jsoup/security/advisories/GHSA-pmhh-3w7g-xqp8"
          }
        ],
        "sourceIdentifier": "security-advisories@github.com",
        "vulnStatus": "Awaiting Analysis",
        "weaknesses": [
          {
            "description": [
              {
                "lang": "en",
                "value": "CWE-79"
              }
            ],
            "source": "security-advisories@github.com",
            "type": "Secondary"
          }
        ]
      }
    },
    "redhat_vex": {
      "aggregate_severity": "Moderate",
      "current_release_date": "2026-10-23T11:00:00+00:00",
      "cve": "CVE-2026-71497",
      "id": "CVE-2026-71497",
      "initial_release_date": "2026-08-06T21:09:31.489000+00:00",
      "product_status:fixed": "2",
      "product_status:known_affected": "97",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "org.jsoup/jsoup: jsoup: Cross-site scripting via malformed HTML tag names",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-71497.json",
      "version": "3"
    },
    "suse_vex": {
      "aggregate_severity": "moderate",
      "current_release_date": "2026-09-15T01:32:08Z",
      "cve": "CVE-2026-71497",
      "id": "CVE-2026-71497",
      "initial_release_date": "2026-08-07T16:58:34Z",
      "product_status:known_affected": "35",
      "source": "SUSE CSAF VEX",
      "status": "interim",
      "title": "SUSE CVE CVE-2026-71497",
      "url": "https://ftp.suse.com/pub/projects/security/csaf-vex/cve-2026-71497.json",
      "version": "5"
    },
    "vulnrichment": {
      "containers": {
        "adp": [
          {
            "metrics": [
              {
                "other": {
                  "content": {
                    "id": "CVE-2026-71497",
                    "options": [
                      {
                        "Exploitation": "none"
                      },
                      {
                        "Automatable": "no"
                      },
                      {
                        "Technical Impact": "partial"
                      }
                    ],
                    "role": "CISA Coordinator",
                    "timestamp": "2026-08-07T14:37:48.066416Z",
                    "version": "2.0.3"
                  },
                  "type": "ssvc"
                }
              }
            ],
            "providerMetadata": {
              "dateUpdated": "2026-08-07T14:37:53.451Z",
              "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
              "shortName": "CISA-ADP"
            },
            "title": "CISA ADP Vulnrichment"
          }
        ],
        "cna": {
          "affected": [
            {
              "product": "jsoup",
              "vendor": "jhy",
              "versions": [
                {
                  "status": "affected",
                  "version": "\u003e= 1.14.3, \u003c 1.23.1"
                }
              ]
            }
          ],
          "descriptions": [
            {
              "lang": "en",
              "value": "jsoup is a Java library for working with real-world HTML. From 1.14.3 until 1.23.1, jsoup\u0027s HTML parser could incorrectly handle a malformed tag name ending in a control character, causing the tag to acquire the parsing behavior of a different element. When a custom Safelist permits certain raw-text elements, this misparsing can cause content that should remain inert text to be emitted as active markup after serialization, potentially resulting in cross-site scripting. jsoup\u0027s built-in Safelists are not affected. This issue is fixed in version 1.23.1."
            }
          ],
          "metrics": [
            {
              "cvssV3_1": {
                "attackComplexity": "HIGH",
                "attackVector": "NETWORK",
                "availabilityImpact": "NONE",
                "baseScore": 4.7,
                "baseSeverity": "MEDIUM",
                "confidentialityImpact": "LOW",
                "integrityImpact": "LOW",
                "privilegesRequired": "NONE",
                "scope": "CHANGED",
                "userInteraction": "REQUIRED",
                "vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N",
                "version": "3.1"
              }
            }
          ],
          "problemTypes": [
            {
              "descriptions": [
                {
                  "cweId": "CWE-79",
                  "description": "CWE-79: Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2026-08-06T21:09:31.489Z",
            "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
            "shortName": "GitHub_M"
          },
          "references": [
            {
              "name": "https://github.com/jhy/jsoup/security/advisories/GHSA-pmhh-3w7g-xqp8",
              "tags": [
                "x_refsource_CONFIRM"
              ],
              "url": "https://github.com/jhy/jsoup/security/advisories/GHSA-pmhh-3w7g-xqp8"
            },
            {
              "name": "https://github.com/jhy/jsoup/issues/2538",
              "tags": [
                "x_refsource_MISC"
              ],
              "url": "https://github.com/jhy/jsoup/issues/2538"
            },
            {
              "name": "https://github.com/jhy/jsoup/commit/92f1aca552548b484bc7d4b94c51e48b8e6eca70",
              "tags": [
                "x_refsource_MISC"
              ],
              "url": "https://github.com/jhy/jsoup/commit/92f1aca552548b484bc7d4b94c51e48b8e6eca70"
            },
            {
              "name": "https://github.com/jhy/jsoup/releases/tag/jsoup-1.23.1",
              "tags": [
                "x_refsource_MISC"
              ],
              "url": "https://github.com/jhy/jsoup/releases/tag/jsoup-1.23.1"
            }
          ],
          "source": {
            "advisory": "GHSA-pmhh-3w7g-xqp8",
            "discovery": "UNKNOWN"
          },
          "title": "jsoup: Cleaner may expose markup with custom raw-text elements"
        }
      },
      "cveMetadata": {
        "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
        "assignerShortName": "GitHub_M",
        "cveId": "CVE-2026-71497",
        "datePublished": "2026-08-06T21:09:31.489Z",
        "dateReserved": "2026-08-06T19:56:23.726Z",
        "dateUpdated": "2026-08-07T14:37:56.848Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Vulnerability timeline

Sightings and recorded dates, grouped by day · UTC

JSON
Events included in the timeline

Loading timeline…


    Loading…

    Loading…

    Loading…

    Related by attack behaviour

    Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.