Bug 2390148

Summary: CVE-2025-7969 libgit2: Markdown-it Cross-site scripting [fedora-42]
Product: [Fedora] Fedora Reporter: Jon Moroney <jmoroney>
Component: libgit2Assignee: Fabio Valentini <decathorpe>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: 42CC: decathorpe, i, sgallagh
Target Milestone: ---Keywords: Security, SecurityTracking
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: {"flaws": ["8f346386-5be0-4bf6-9f5c-729fd85a2b79"]}
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2025-08-22 20:37:09 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2390127    

Description Jon Moroney 2025-08-21 17:47:33 UTC
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.

The following link provides references to all essential vulnerability management information. If something is wrong or missing, please contact a member of PSIRT.
https://spaces.redhat.com/display/PRODSEC/Vulnerability+Management+-+Essential+Documents+for+Engineering+Teams

Comment 1 Stephen Gallagher 2025-08-21 18:04:17 UTC
I don't think this impacts libgit2 in any meaningful way. It only uses markdown-it for generating its documentation HTML. I can't see any obvious way for this to be exploited, since the input is well-validated (coming from the upstream repository).

Comment 2 Fabio Valentini 2025-08-22 20:37:09 UTC
markdown-it isn't even present in this package, nor as a dependency of it.
It's just listed as a dependency in under script/api-docs/package.json, so this report is an utter false positive.