---
id: CVE-2025-60249
title: >-
  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
summary: >-
  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
  hand…
severity: medium
cvss: 6.4
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N'
cwe:
  - CWE-79
published: '2025-09-25'
updated: '2026-09-30'
sourceUpdated: '2026-09-30T23:10:00.237'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2025-60249'
references:
  - url: >-
      https://github.com/vulnerability-lookup/vulnerability-lookup/commit/afa12347f1461d9481eba75ac19897e80a9c7434
    label: cve@mitre.org
tags:
  - nvd
epss: 0.00199
epssPercentile: 0.08721
ingestedAt: '2026-09-30T23:29:32.404Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
