Skip to content

bump postgresql + owasp-java-html-sanitizer to clear HIGH advisories (alerts 505, 508) - #1586

Merged
juanresendiz813 merged 1 commit into
developmentfrom
fix/dependabot-bom-pg-htmlsanitizer
Jul 28, 2026
Merged

bump postgresql + owasp-java-html-sanitizer to clear HIGH advisories (alerts 505, 508)#1586
juanresendiz813 merged 1 commit into
developmentfrom
fix/dependabot-bom-pg-htmlsanitizer

Conversation

@juanresendiz813

Copy link
Copy Markdown
Contributor

What

Bumps two direct managed dependency versions in saiku-bom/pom.xml to clear two HIGH Dependabot advisories:

  • org.postgresql:postgresql 42.7.11 -> 42.7.12 (clears Dependabot alert 505). Patch release within the maintained 42.7.x JDBC4-driver line — pure-API drop-in, no code changes.
  • com.googlecode.owasp-java-html-sanitizer 20240325.1 -> 20260101.1 (clears Dependabot alert 508). Forward bump on the date-versioned release line.

Note: these are Dependabot alert numbers, not issue numbers — referenced in prose only.

Where

Both are declared once, in saiku-bom/pom.xml:

  • postgresql as a <version> literal on the managed dependency.
  • owasp-java-html-sanitizer via the owasp.html.sanitizer.version property (comment updated to match).

Grep across all pom.xml confirms no second declaration or hardcoded old version left behind. Consumers (saiku-webapp, saiku-core/saiku-sql for postgres; saiku-core/saiku-web for the sanitizer) reference the managed version with no local override.

Sanitizer API-change risk

Single call site: saiku-core/saiku-web/.../email/EmailMessageAssembler.java uses Sanitizers.FORMATTING/BLOCKS/LINKS/TABLES, PolicyFactory.and(...), and .sanitize(String) — the stable core public API, unchanged across the 2024->2026 releases. Low risk.

Build / test

mvn -B -ntp -pl saiku-core/saiku-web,saiku-core/saiku-sql -am testBUILD SUCCESS.

  • saiku-web: 564 tests, 0 failures — including EmailMessageAssemblerTest (13/13), which exercises the sanitizer path with the new version.
  • saiku-sql: compiled + tested against postgres 42.7.12.

…to clear advisories (Dependabot alerts 505 and 508)
@juanresendiz813
juanresendiz813 merged commit dba2036 into development Jul 28, 2026
5 of 6 checks passed
@juanresendiz813
juanresendiz813 deleted the fix/dependabot-bom-pg-htmlsanitizer branch July 28, 2026 17:43
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.

1 participant