Skip to content

fix(QTDI-3435): Upgrade jsoup to 1.23.2 (CVE-2026-71497) - #1328

Open
undx wants to merge 2 commits into
masterfrom
undx/QTDI-3435_upgrade_jsoup_cve
Open

undx wants to merge 2 commits into
masterfrom
undx/QTDI-3435_upgrade_jsoup_cve

Conversation

@undx

@undx undx commented Nov 13, 2026

Copy link
Copy Markdown
Member

Requirements

  • Any code change adding any logic MUST be tested through a unit test executed with the default build
  • Any API addition MUST be done with a documentation update if relevant

Why this PR is needed?

QTDI-3435: CVE-2026-71497 — jsoup Cleaner may expose markup with custom raw-text elements. Fixed in jsoup 1.23.2.

What does this PR adds (design/code thoughts)?

Bumps jsoup.version from 1.15.3 to 1.23.2 in the root pom.xml (single property, used by component-runtime-testing dependencyManagement and documentation). No logic change, so no new test.

Validation: mvn -o -pl documentation,component-runtime-testing/component-runtime-testing-spark dependency:tree -Dincludes=org.jsoup resolves only org.jsoup:jsoup:1.23.2 (BUILD SUCCESS). Compile/tests of the documentation module were NOT run locally (offline reactor lacks sibling SNAPSHOT artifacts) — please rely on CI. SearchIndexation only uses stable APIs (Jsoup.parse, select, text, getElementsByTag).

AI contribution metrics

  • Code Generation % (this PR): 100%
  • Code Generation % (ticket-wide cumulative): 100%
  • Technical Design % (ticket-wide cumulative): 100% (AI draft plan approved by the developer without changes)

AI generated code

https://internal.qlik.dev/general/ways-of-working/code-reviews/#guidelines-for-ai-generated-code

  • this PR has been written with the help of GitHub Copilot or another generative AI tool

Bump jsoup.version from 1.15.3 to 1.23.2 to fix the Cleaner raw-text markup exposure.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@undx

undx commented Nov 13, 2026

Copy link
Copy Markdown
Member Author

Scope & Design Review (Round 1) — APPROVED (0 Blocker, 0 Major)

  • Single property jsoup.version 1.15.3 -> 1.23.2 in root pom; used by documentation/pom.xml only; jsoup 1.23.2 present in local m2.
  • Only consumer: SearchIndexation.java (stable APIs).
  • Minor: documentation module tests not run offline; recommend CI / mvn -pl documentation -am test.
  • Unrelated local edits (cxf.version whitespace, .gitignore) were excluded from the commit.

Signed: GitHub Copilot

@undx

undx commented Nov 13, 2026

Copy link
Copy Markdown
Member Author

Compliance Check

Critical fixed: 0, Warnings: 1 (resolved), Info: 1

  • Warning: stray whitespace change on cxf.version in the working tree — excluded from the commit.
  • Info: .gitignore .ai-commons/ edit is local tooling — excluded from the commit.
  • jsoup.version change follows existing property conventions.

Signed: GitHub Copilot

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 Needs a closer look

The jsoup upgrade spans multiple releases and affects documentation parsing and the gmavenplus classpath without local documentation compilation or tests, so CI or human verification is needed before approval.

No open issues 🎉

What changed in this PR

Updates the centrally managed jsoup dependency to address CVE-2026-71497.

Changes:

  • Bumps jsoup.version from 1.15.3 to 1.23.2.
  • Applies the upgrade to existing documentation and component-testing consumers through the shared Maven property.
  • Introduces no application logic or API changes.
File Description
pom.xml Updates the root jsoup version property used by downstream documentation and component-testing modules.

Review effort: Lite

@sonar-rnd

sonar-rnd Bot commented Nov 13, 2026

Copy link
Copy Markdown

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants