Description
A stored cross-site scripting (XSS) vulnerability existed in Vulnerability-Lookup in the render_tag_badges Jinja filter used to display reference tags associated with vulnerability records.

Values from containers.cna.references[].tags[] were directly interpolated into HTML badge elements and the resulting string was wrapped in markupsafe.Markup. Because Markup marks the generated content as safe, Jinja's automatic HTML escaping was bypassed.

An authenticated user with permissions to create or modify vulnerability records, such as a user holding the vulnerability:create or vulnerability:modify permission, could submit a crafted reference tag through the CNA API containing arbitrary HTML or JavaScript-capable markup.

The malicious value would subsequently be stored as part of the vulnerability record. When another user visited the corresponding public /cve/<id> or /vuln/<id> page, the crafted tag would be rendered as HTML in the viewer's browser. This could result in JavaScript execution in the security context of the Vulnerability-Lookup application.

Successful exploitation could allow an attacker to perform actions in the context of a victim, access information available to the victim's browser session, or modify page content. As the affected vulnerability pages can be accessed publicly, exploitation may affect users who are not authenticated.

The issue was corrected by applying markupsafe.escape() to each reference tag before inserting it into the HTML badge markup, while retaining Markup only for the static HTML scaffolding.
Published: 2026-08-12
Score: 6.1 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

A stored cross‑site scripting vulnerability exists in Vulnerability‑Lookup’s render_tag_badges Jinja filter, where reference tag values from the CNA API are interpolated directly into HTML badges without sanitization and then wrapped in markupsafe.Markup, bypassing Jinja’s escape mechanism. An authenticated attacker with the vulnerability:create or vulnerability:modify permission can store malicious HTML or JavaScript in a reference tag; when any user explores the public /cve/<id> or /vuln/<id> page, the embedded script executes in the victim browser with the privileges of the Vulnerability‑Lookup application, allowing session hijacking, data theft, or arbitrary content injection. This flaw is identified as CWE‑79.

Affected Systems

The affected product is Vulnerability‑Lookup; no explicit version range is listed in the CNA record, but the security fix adding markupsafe.escape to reference tag processing is present in the commit dated d29901655c50cf3c25737d9ea86180268df51b57. Administrators should verify that their deployed release includes this change and that no legacy reference tags remain unsanitized.

Risk and Exploitability

With a CVSS score of 6.1, the vulnerability is moderately severe; the EPSS score is not available, and it is not recorded in the CISA KEV catalog. Exploitation requires legitimate permission to create or modify vulnerability records, but once a malicious tag is stored the effect spreads to all users who view the affected CVE or vulnerability page, including unauthenticated visitors, making the risk moderate to high depending on exposure. Attackers could steal session cookies, inject malicious scripts, or alter page content in the victim’s browser session.

Generated by OpenCVE AI on August 13, 2026 at 01:01 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply the latest Vulnerability‑Lookup release that contains the markupsafe.escape fix for reference tags.
  • Configure the CNA API to validate or sanitize reference tags before acceptance, restricting input to plain text or safe URLs and rejecting arbitrary HTML or script elements.
  • Remove or replace any reference tags that were created prior to the fix to eliminate existing malicious content.

Generated by OpenCVE AI on August 13, 2026 at 01:01 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 13 Aug 2026 10:15:00 +0000

Type Values Removed Values Added
First Time appeared Circl
Circl vulnerability-lookup
Vendors & Products Circl
Circl vulnerability-lookup

Wed, 12 Aug 2026 18:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Wed, 12 Aug 2026 14:30:00 +0000

Type Values Removed Values Added
Description A stored cross-site scripting (XSS) vulnerability existed in Vulnerability-Lookup in the render_tag_badges Jinja filter used to display reference tags associated with vulnerability records. Values from containers.cna.references[].tags[] were directly interpolated into HTML badge elements and the resulting string was wrapped in markupsafe.Markup. Because Markup marks the generated content as safe, Jinja's automatic HTML escaping was bypassed. An authenticated user with permissions to create or modify vulnerability records, such as a user holding the vulnerability:create or vulnerability:modify permission, could submit a crafted reference tag through the CNA API containing arbitrary HTML or JavaScript-capable markup. The malicious value would subsequently be stored as part of the vulnerability record. When another user visited the corresponding public /cve/<id> or /vuln/<id> page, the crafted tag would be rendered as HTML in the viewer's browser. This could result in JavaScript execution in the security context of the Vulnerability-Lookup application. Successful exploitation could allow an attacker to perform actions in the context of a victim, access information available to the victim's browser session, or modify page content. As the affected vulnerability pages can be accessed publicly, exploitation may affect users who are not authenticated. The issue was corrected by applying markupsafe.escape() to each reference tag before inserting it into the HTML badge markup, while retaining Markup only for the static HTML scaffolding.
Title Stored Cross-Site Scripting (XSS) via Unescaped CNA Reference Tags in vulnerability-lookup
Weaknesses CWE-79
References
Metrics cvssV4_0

{'score': 6.1, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:L/VI:L/VA:N/SC:H/SI:N/SA:N'}


Subscriptions

Circl Vulnerability-lookup
cve-icon MITRE

Status: PUBLISHED

Assigner: CIRCL

Published:

Updated: 2026-08-12T17:12:36.380Z

Reserved: 2026-08-12T14:05:33.426Z

Link: CVE-2026-73374

cve-icon Vulnrichment

Updated: 2026-08-12T17:12:15.340Z

cve-icon NVD

Status : Deferred

Published: 2026-08-12T15:18:33.173

Modified: 2026-08-26T16:49:18.760

Link: CVE-2026-73374

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-13T09:48:38Z

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')