mirror of
https://github.com/0xMarcio/cve.git
synced 2026-05-19 15:28:03 +02:00
30 lines
1.1 KiB
HTML
30 lines
1.1 KiB
HTML
{% extends "base.html" %}
|
|
{% block content %}
|
|
<h1>{{ cve.cve }}</h1>
|
|
<p class="lead">{{ cve.description or 'No description available.' }}</p>
|
|
<div class="pill-row">
|
|
{% if cve.kev %}<span class="pill pill-warn">In KEV</span>{% else %}<span class="pill">Not in KEV</span>{% endif %}
|
|
{% if cve.epss is not none %}<span class="pill">EPSS {{ '%.3f'|format(cve.epss) }} ({{ '%2.0f'|format((cve.percentile or 0)*100) }}th)</span>{% endif %}
|
|
{% if cve.kev and cve.kev.due_date %}<span class="pill">Due {{ cve.kev.due_date }}</span>{% endif %}
|
|
</div>
|
|
|
|
{% if cve.poc_links %}
|
|
<h2>Proof of Concepts</h2>
|
|
<ul>
|
|
{% for link in cve.poc_links %}
|
|
<li><a href="{{ link }}" target="_blank" rel="noopener">{{ link }}</a></li>
|
|
{% endfor %}
|
|
</ul>
|
|
{% endif %}
|
|
|
|
{% if cve.kev %}
|
|
<h2>KEV Details</h2>
|
|
<ul>
|
|
<li><strong>Date added:</strong> {{ cve.kev.date_added }}</li>
|
|
{% if cve.kev.due_date %}<li><strong>Due date:</strong> {{ cve.kev.due_date }}</li>{% endif %}
|
|
<li><strong>Required action:</strong> {{ cve.kev.required_action }}</li>
|
|
{% if cve.kev.notes %}<li><strong>Notes:</strong> {{ cve.kev.notes }}</li>{% endif %}
|
|
</ul>
|
|
{% endif %}
|
|
{% endblock %}
|