Security advisory
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2025-60249
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 5 Nov 2026, 23:54 UTC · Revision 1
Source evidence
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.
osv:CVE-2025-60249
Complete source record
{
"id": "cd1a4e60cfd0a2e98c860eb4fe8733ea727491bd7df827def42514589d1b1eec",
"url": "https://osv.dev/vulnerability/CVE-2025-60249",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2025-60249",
"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 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.",
"evidence": "osv:CVE-2025-60249",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2025-60249",
"aliases": [
"CVE-2025-60249"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/vulnerability-lookup/vulnerability-lookup",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "afa12347f1461d9481eba75ac19897e80a9c7434"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"last_affected": "2.16.0"
}
],
"source": "AFFECTED_FIELD",
"strategy": "ZeroIntroducedSingleVersion"
},
{
"range": [
{
"fixed": "afa12347f1461d9481eba75ac19897e80a9c7434"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"versions": [
"v2.16.0",
"v2.15.0",
"v2.13.0",
"v2.12.0",
"v2.10.1",
"v2.10.0",
"v2.9.0",
"v2.7.1",
"v2.7.0",
"v2.6.0",
"v2.5.0",
"v2.4.0",
"v2.3.0",
"v2.2.0",
"v2.1.0",
"v1.7.0",
"v1.6.0",
"v1.5.0",
"v1.4.0",
"v1.3.0",
"v1.2.0",
"v1.1.0",
"v1.0.0",
"v0.7.0",
"v0.6.0",
"v0.5.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-60249.json"
}
}
],
"modified": "2026-10-28T02:30:45.233543916Z",
"provider": "osv",
"references": [
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/60xxx/CVE-2025-60249.json",
"https://nvd.nist.gov/vuln/detail/CVE-2025-60249",
"https://github.com/vulnerability-lookup/vulnerability-lookup/commit/afa12347f1461d9481eba75ac19897e80a9c7434"
],
"provider_metadata": {
"cwe_ids": [
"CWE-79"
],
"cna_assigner": "mitre",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/60xxx/CVE-2025-60249.json"
}
},
"related_cves": [
{
"value": "CVE-2025-60249",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 513243,
"published_at": "2025-09-25T00:00:00+00:00"
}