org.jsoup:jsoup vulnerabilities

jsoup is a Java library that simplifies working with real-world HTML and XML. It offers an easy-to-use API for URL fetching, data parsing, extraction, and manipulation using DOM API methods, CSS, and xpath selectors. jsoup implements the WHATWG HTML5 specification, and parses HTML to the same DOM as modern browsers.

Registry
Maven
Latest
1.24.1
License
The MIT License

5 known advisories

The latest version, 1.24.1, is not affected by any of them. Projects on older versions may be.

Update to the latest version:mvn versions:use-dep-version -Dincludes=org.jsoup:jsoup -DdepVersion=1.24.1 -DforceVersion=true

Is your project on an affected org.jsoup:jsoup?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Look after several Java apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Security advisories for org.jsoup:jsoup

  • HighCVE-2026-75140GHSA-65r4-943x-97jj20 Aug 2026

    jsoup XmlTreeBuilder vulnerable to memory exhaustion through deeply nested namespace declarations

    Affected
    <1.23.2
    Fixed in
    1.23.2
  • MediumCVE-2026-71497GHSA-pmhh-3w7g-xqp86 Aug 2026

    jsoup: Cleaner may expose markup with custom raw-text elements

    Affected
    >=1.14.3 <1.23.1
    Fixed in
    1.23.1
  • MediumCVE-2022-36033GHSA-gp7f-rwcx-93691 Sept 2022

    jsoup may not sanitize code injection XSS attempts if SafeList.preserveRelativeLinks is enabled

    Affected
    <1.15.3
    Fixed in
    1.15.3
  • MediumCVE-2015-6748GHSA-48rh-qgjr-xfj613 May 2022

    Improper Neutralization of Input During Web Page Generation in Jsoup

    Affected
    >=1.6.0 <1.8.3
    Fixed in
    1.8.3
  • HighCVE-2021-37714GHSA-m72m-mhq2-9p6c23 Aug 2021

    Uncaught Exception in jsoup

    Affected
    <1.14.2
    Fixed in
    1.14.2

Is your org.jsoup:jsoup version vulnerable?

Which of your client projects still run an old org.jsoup:jsoup?

NPMscan reads the pom.xml, build.gradle and gradle.lockfile in every GitHub repo you pick and checks each installed version against these advisories, including the packages your packages pull in. Each finding comes with the command that fixes it.

Other Maven packages

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily. Package details from the Maven registry.