CVE-2025-60249: XSS
vulnerability-lookup 2.16.0 allows XSS in bundle.py, comment.py, and user.py, by a user on a vulnerability-lookup instance who can add bundles, comments, or sightings. A cross-site scripting (XSS) vulnerability was discovered in the handling of user-supplied input in the Bundles, Comments, and Sightings components. Untrusted data was not properly sanitized before being rendered in templates and tables, which could allow attackers to inject arbitrary JavaScript into the application. The issue was due to unsafe use of innerHTML and insufficient validation of dynamic URLs and model fields. This vulnerability has been fixed by escaping untrusted data, replacing innerHTML assignments with safer DOM methods, encoding URLs with encodeURIComponent, and improving input validation in the affected models.
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2025-60249?
CVE-2025-60249 is classified as a medium severity Cross-Site Scripting (XSS) vulnerability.
How do I fix CVE-2025-60249?
To mitigate CVE-2025-60249, you should update vulnerability-lookup to version 2.16.1 or later, which addresses the XSS issue.
What components are affected by CVE-2025-60249?
CVE-2025-60249 affects the bundle.py, comment.py, and user.py components of vulnerability-lookup version 2.16.0.
Can CVE-2025-60249 allow unauthorized access?
While CVE-2025-60249 primarily involves XSS, it could potentially lead to unauthorized actions if exploited.
Is CVE-2025-60249 exploitable in all instances?
CVE-2025-60249 is exploitable in any vulnerability-lookup instance where users can add bundles, comments, or sightings.