CVE-2026-71497

Source
https://cve.org/CVERecord?id=CVE-2026-71497
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-71497.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2026-71497
Aliases
Downstream
AZL (1)
CGA (279)
CLEANSTART (12)
CLSA (1)
DEBIAN (1)
MINI (25)
RHLW (4)
ROOT (1)
UBUNTU (1)
Published
2026-08-06T21:09:31Z
Modified
2026-11-26T19:50:21Z
Severity
  • 4.7 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N CVSS Calculator
Summary
jsoup: Cleaner may expose markup with custom raw-text elements
Details

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.

Database specific
{
    "cna_assigner":  "GitHub_M",
    "cwe_ids":  [
        "CWE-79"
    ],
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/71xxx/CVE-2026-71497.json",
    "unresolved_ranges":  [
        {
            "extracted_events":  [
                {
                    "range":  [
                        {
                            "introduced":  "1.14.3"
                        },
                        {
                            "fixed":  "1.23.1"
                        }
                    ],
                    "source":  "AFFECTED_FIELD",
                    "strategy":  "StringRangeExpression"
                }
            ]
        },
        {
            "extracted_events":  [
                {
                    "range":  [
                        {
                            "fixed":  "1.23.1"
                        }
                    ],
                    "source":  "DESCRIPTION"
                }
            ]
        }
    ]
}
References

Affected packages

Git / github.com/jhy/jsoup

Affected ranges

Type
GIT
Repo
https://github.com/jhy/jsoup
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed
Database specific
Show details
{
    "extracted_events":  [
        {
            "range":  [
                {
                    "fixed":  "92f1aca552548b484bc7d4b94c51e48b8e6eca70"
                }
            ],
            "source":  "REFERENCES_COMMIT"
        },
        {
            "original_tag":  "jsoup-1.23.1",
            "range":  [
                {
                    "fixed":  "bb077a8b0da1203cf11d5139967f0d52fe8f5a59"
                }
            ],
            "source":  "REFERENCES_TAG"
        }
    ]
}

Affected versions

1.*
1.12.2
jsoup-1.*
jsoup-1.10.1
jsoup-1.10.2
jsoup-1.11.1
jsoup-1.11.2
jsoup-1.11.3
jsoup-1.12.1
jsoup-1.12.2
jsoup-1.13.1
jsoup-1.14.1
jsoup-1.14.2
jsoup-1.14.3
jsoup-1.15.1
jsoup-1.15.2
jsoup-1.15.3
jsoup-1.15.4
jsoup-1.16.1
jsoup-1.16.2
jsoup-1.17.1
jsoup-1.17.2
jsoup-1.18.1
jsoup-1.18.2
jsoup-1.18.3
jsoup-1.19.1
jsoup-1.20.1
jsoup-1.21.1
jsoup-1.21.2
jsoup-1.22.1
jsoup-1.22.2
jsoup-1.6.2
jsoup-1.6.3
jsoup-1.7.1
jsoup-1.7.2
jsoup-1.7.3
jsoup-1.8.1.a
jsoup-1.8.2
jsoup-1.8.3
jsoup-1.8.3a
jsoup-1.9.1
jsoup-1.9.1a
jsoup-1.9.2

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-71497.json"