p PatchFirst

CVE-2026-71497

CVE-2026-71497 · jsoup: Cleaner may expose markup with custom raw-text elements

CVSS 4.7 · Medium · EPSS 0.3% · Fix available

Compare with your installed version

Affected products and known fixed versions are public information. Compare them with your installed version.

  • jsoupNo fix published
  • jsoup Debian 12No fix published
  • jsoup Debian 13No fix published
  • jsoup Debian 14Update to 1.23.2-1
  • and 8 more

Check the installed version:

dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="jsoup"'

Assess your server’s risks

The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.

Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.

curl -fsSL https://patchfirst.dev/check.sh | sh
Check your server for free →

Channels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

Published
Updated

Stack: system

Affected products and versions

  • jsoup

    Versions
    • >= 1.14.3, < 1.23.1: Affected

    No fix published

  • jsoup Debian 12

    Versions
    • 1.15.3-1
    • 1.23.2-1
    • 1.23.2-2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • jsoup Debian 13

    Versions
    • 1.15.3-1
    • 1.23.2-1
    • 1.23.2-2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • jsoup Debian 14

    Versions
    • 1.15.3-1
    Affected ranges
    • ECOSYSTEM: < 1.23.2-1

    Update to 1.23.2-1

  • jsoup Ubuntu Pro 14.04 LTS

    Versions
    • 1.7.2-1
    • 1.7.3-1
    • 1.7.3-1ubuntu0.1~esm2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • jsoup Ubuntu 16.04 LTS

    Versions
    • 1.8.3-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • jsoup Ubuntu 18.04 LTS

    Versions
    • 1.10.2-1
    • 1.10.2-2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • jsoup Ubuntu 20.04 LTS

    Versions
    • 1.10.2-2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • jsoup Ubuntu 22.04 LTS

    Versions
    • 1.10.2-2
    • 1.14.3-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • jsoup Ubuntu 24.04 LTS

    Versions
    • 1.15.3-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • jsoup Ubuntu 26.10

    Versions
    • 1.15.3-1build1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • jsoup Ubuntu 26.04 LTS

    Versions
    • 1.15.3-1
    • 1.15.3-1build1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

Original sources

Check your server →