Skip to content

Potential XSLT injection vulnerability when using policy files

Low
carlwilson published GHSA-qxqf-2mfx-x8jw Mar 28, 2024

Package

maven org.verapdf.core (Maven)

Affected versions

< 1.26.0-RC2

Patched versions

1.24.2
maven org.verapdf.core-arlington (Maven)
< 1.26.0-RC2
1.25.127
maven org.verapdf.core-jakarta (Maven)
< 1.26.0-RC2
1.24.2

Description

Impact

Executing policy checks using custom schematron files invokes an XSL transformation that may theoretically lead to a remote code execution (RCE) vulnerability.

Patches

This has been patched and users should upgrade to veraPDF v1.24.2

Workarounds

This doesn't affect the standard validation and policy checks functionality, veraPDF's common use cases. Most veraPDF users don't insert any custom XSLT code into policy profiles, which are based on Schematron syntax rather than direct XSL transforms. For users who do, only load custom policy files from sources you trust.

References

Original issue: #1415

Severity

Low

CVE ID

CVE-2024-28109

Weaknesses

No CWEs