Skip to content

fix(reports): Correct XML report attribute denoting matched status for a suppressed vulnerability#8487

Merged
jeremylong merged 1 commit into
dependency-check:mainfrom
chadlwilson:fix-xml-report-bug
May 10, 2026
Merged

fix(reports): Correct XML report attribute denoting matched status for a suppressed vulnerability#8487
jeremylong merged 1 commit into
dependency-check:mainfrom
chadlwilson:fix-xml-report-bug

Conversation

@chadlwilson

Copy link
Copy Markdown
Collaborator

Description of Change

This is incorrect with respect to the schema. It's correct for non-suppressed vulnerabilities.

<xs:complexType name="software">
<xs:simpleContent>
<xs:extension base="xs:string">
<xs:attribute name="vulnerabilityIdMatched" type="xs:boolean"/>
<xs:attribute name="versionStartIncluding" type="xs:string"/>
<xs:attribute name="versionStartExcluding" type="xs:string"/>
<xs:attribute name="versionEndIncluding" type="xs:string"/>
<xs:attribute name="versionEndExcluding" type="xs:string"/>
<xs:attribute name="vulnerable" type="xs:boolean"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>

Related issues

None

Have test cases been added to cover the new functionality?

N/A

…pressed vulnerability.

This is incorrect with respect to the schema. It's correct for non-suppressed vulnerabilities.

Signed-off-by: Chad Wilson <29788154+chadlwilson@users.noreply.github.com>
@boring-cyborg boring-cyborg Bot added the core changes to core label May 7, 2026
@jeremylong jeremylong added this to the 13.0.0 milestone May 10, 2026
@jeremylong jeremylong merged commit c9d2874 into dependency-check:main May 10, 2026
15 checks passed
@chadlwilson chadlwilson deleted the fix-xml-report-bug branch May 10, 2026 11:27
@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Jun 10, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

core changes to core

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants