idx
int64
project
string
commit_id
string
project_url
string
commit_url
string
commit_message
string
target
int64
func
string
func_hash
float64
file_name
string
file_hash
float64
cwe
list
cve
string
cve_desc
string
nvd_url
string
519,255
elog
993bed4923c88593cc6b1186e0d1b9564994a25a
https://bitbucket.org/ritt/elog
https://bitbucket.org/ritt/elog/commits/993bed4923c88593cc6b1186e0d1b9564994a25a
Serve SVG files as attachments only to avoid XSS vulnerabilities
0
int html_allowed(LOGBOOK *lbs) { char str[80]; return (getcfg(lbs->name, "Allow HTML", str, sizeof(str)) && atoi(str) == 1); }
151,350,069,168,993,640,000,000,000,000,000,000,000
None
null
[ "CWE-79" ]
CVE-2019-20376
A cross-site scripting (XSS) vulnerability in Electronic Logbook (ELOG) 3.1.4 allows remote attackers to inject arbitrary web script or HTML via a crafted SVG document to elogd.c.
https://nvd.nist.gov/vuln/detail/CVE-2019-20376
519,256
elog
993bed4923c88593cc6b1186e0d1b9564994a25a
https://bitbucket.org/ritt/elog
https://bitbucket.org/ritt/elog/commits/993bed4923c88593cc6b1186e0d1b9564994a25a
Serve SVG files as attachments only to avoid XSS vulnerabilities
0
size_t my_strftime(char *s, size_t max, const char *fmt, const struct tm *tm) { return strftime(s, max, fmt, tm); }
270,839,856,276,378,900,000,000,000,000,000,000,000
None
null
[ "CWE-79" ]
CVE-2019-20376
A cross-site scripting (XSS) vulnerability in Electronic Logbook (ELOG) 3.1.4 allows remote attackers to inject arbitrary web script or HTML via a crafted SVG document to elogd.c.
https://nvd.nist.gov/vuln/detail/CVE-2019-20376
519,257
elog
993bed4923c88593cc6b1186e0d1b9564994a25a
https://bitbucket.org/ritt/elog
https://bitbucket.org/ritt/elog/commits/993bed4923c88593cc6b1186e0d1b9564994a25a
Serve SVG files as attachments only to avoid XSS vulnerabilities
0
void set_cookie(LOGBOOK *lbs, char *name, char *value, BOOL global, char *expiration) { char lb_name[256], str[NAME_LENGTH], format[80]; double exp; time_t now; struct tm *gmt; if (lbs) strcpy(lb_name, lbs->name); else strcpy(lb_name, "global"); if (value != NULL) rsprintf("Set-...
228,151,234,157,880,770,000,000,000,000,000,000,000
None
null
[ "CWE-79" ]
CVE-2019-20376
A cross-site scripting (XSS) vulnerability in Electronic Logbook (ELOG) 3.1.4 allows remote attackers to inject arbitrary web script or HTML via a crafted SVG document to elogd.c.
https://nvd.nist.gov/vuln/detail/CVE-2019-20376
519,258
elog
993bed4923c88593cc6b1186e0d1b9564994a25a
https://bitbucket.org/ritt/elog
https://bitbucket.org/ritt/elog/commits/993bed4923c88593cc6b1186e0d1b9564994a25a
Serve SVG files as attachments only to avoid XSS vulnerabilities
0
int scan_attributes(char *logbook) /* scan configuration file for attributes and fill attr_list, attr_options and attr_flags arrays */ { char list[10000], str[NAME_LENGTH], str2[NAME_LENGTH], type[NAME_LENGTH], tmp_list[MAX_N_ATTR][NAME_LENGTH]; int i, j, n, m, n_options; if (getcfg(logbook, "Attr...
45,811,896,757,913,700,000,000,000,000,000,000,000
None
null
[ "CWE-79" ]
CVE-2019-20376
A cross-site scripting (XSS) vulnerability in Electronic Logbook (ELOG) 3.1.4 allows remote attackers to inject arbitrary web script or HTML via a crafted SVG document to elogd.c.
https://nvd.nist.gov/vuln/detail/CVE-2019-20376
519,259
elog
993bed4923c88593cc6b1186e0d1b9564994a25a
https://bitbucket.org/ritt/elog
https://bitbucket.org/ritt/elog/commits/993bed4923c88593cc6b1186e0d1b9564994a25a
Serve SVG files as attachments only to avoid XSS vulnerabilities
0
int adjust_config(char *url) { int fh, i, length; char *buf, *buf2, *p1, *p2; char str[256]; fh = open(config_file, O_RDWR | O_BINARY, 0644); if (fh < 0) { sprintf(str, loc("Cannot open file <b>%s</b>"), config_file); strcat(str, ": "); strcat(str, strerror(errno)); eputs(str); ...
35,257,569,976,645,147,000,000,000,000,000,000,000
None
null
[ "CWE-79" ]
CVE-2019-20376
A cross-site scripting (XSS) vulnerability in Electronic Logbook (ELOG) 3.1.4 allows remote attackers to inject arbitrary web script or HTML via a crafted SVG document to elogd.c.
https://nvd.nist.gov/vuln/detail/CVE-2019-20376
519,260
elog
993bed4923c88593cc6b1186e0d1b9564994a25a
https://bitbucket.org/ritt/elog
https://bitbucket.org/ritt/elog/commits/993bed4923c88593cc6b1186e0d1b9564994a25a
Serve SVG files as attachments only to avoid XSS vulnerabilities
0
int retrieve_remote_md5(LOGBOOK *lbs, char *host, MD5_INDEX **md5_index, char *error_str) { int i, n, id, x, version, ssl; char *text, *p, url[256], str[1000]; *md5_index = NULL; combine_url(lbs, host, "?cmd=GetMD5", url, sizeof(url), &ssl); text = NULL; error_str[0] = 0; if (retrieve_url(lbs, u...
214,344,506,989,529,500,000,000,000,000,000,000,000
None
null
[ "CWE-79" ]
CVE-2019-20376
A cross-site scripting (XSS) vulnerability in Electronic Logbook (ELOG) 3.1.4 allows remote attackers to inject arbitrary web script or HTML via a crafted SVG document to elogd.c.
https://nvd.nist.gov/vuln/detail/CVE-2019-20376
519,261
elog
993bed4923c88593cc6b1186e0d1b9564994a25a
https://bitbucket.org/ritt/elog
https://bitbucket.org/ritt/elog/commits/993bed4923c88593cc6b1186e0d1b9564994a25a
Serve SVG files as attachments only to avoid XSS vulnerabilities
0
int ss_file_find(const char *path, char *pattern, char **plist) /******************************************************************** Routine: ss_file_find Purpose: Return list of files matching 'pattern' from the 'path' location Input: char *path Name of a file in file system to check char *patter...
8,332,385,648,436,273,000,000,000,000,000,000,000
None
null
[ "CWE-79" ]
CVE-2019-20376
A cross-site scripting (XSS) vulnerability in Electronic Logbook (ELOG) 3.1.4 allows remote attackers to inject arbitrary web script or HTML via a crafted SVG document to elogd.c.
https://nvd.nist.gov/vuln/detail/CVE-2019-20376
519,262
elog
993bed4923c88593cc6b1186e0d1b9564994a25a
https://bitbucket.org/ritt/elog
https://bitbucket.org/ritt/elog/commits/993bed4923c88593cc6b1186e0d1b9564994a25a
Serve SVG files as attachments only to avoid XSS vulnerabilities
0
int is_inline_attachment(char *encoding, int message_id, char *text, int i, char *att) { char str[256], att_enc[256], domain[256], *pt, *p; if (text == NULL) return 0; if (strieq(encoding, "ELCode")) { sprintf(str, "[img]elog:/%d[/img]", i + 1); if (stristr(text, str)) return 1; ...
272,158,633,372,558,040,000,000,000,000,000,000,000
None
null
[ "CWE-79" ]
CVE-2019-20376
A cross-site scripting (XSS) vulnerability in Electronic Logbook (ELOG) 3.1.4 allows remote attackers to inject arbitrary web script or HTML via a crafted SVG document to elogd.c.
https://nvd.nist.gov/vuln/detail/CVE-2019-20376
519,263
elog
993bed4923c88593cc6b1186e0d1b9564994a25a
https://bitbucket.org/ritt/elog
https://bitbucket.org/ritt/elog/commits/993bed4923c88593cc6b1186e0d1b9564994a25a
Serve SVG files as attachments only to avoid XSS vulnerabilities
0
void generate_subdir_name(char *file_name, char *subdir, int size) { char fn[MAX_PATH_LENGTH], path[MAX_PATH_LENGTH]; int year; // extract path from file_name strlcpy(path, file_name, size); if (strrchr(path, DIR_SEPARATOR)) *(strrchr(path, DIR_SEPARATOR) + 1) = 0; // extract file name if (...
238,822,740,214,141,100,000,000,000,000,000,000,000
None
null
[ "CWE-79" ]
CVE-2019-20376
A cross-site scripting (XSS) vulnerability in Electronic Logbook (ELOG) 3.1.4 allows remote attackers to inject arbitrary web script or HTML via a crafted SVG document to elogd.c.
https://nvd.nist.gov/vuln/detail/CVE-2019-20376
519,264
elog
993bed4923c88593cc6b1186e0d1b9564994a25a
https://bitbucket.org/ritt/elog
https://bitbucket.org/ritt/elog/commits/993bed4923c88593cc6b1186e0d1b9564994a25a
Serve SVG files as attachments only to avoid XSS vulnerabilities
0
int is_image(char *att) { return (stristr(att, ".GIF") != NULL) || (stristr(att, ".JPG") != NULL) || (stristr(att, ".JPEG") != NULL) || (stristr(att, ".PNG") != NULL) || (stristr(att, ".SVG") != NULL); }
155,075,119,301,829,700,000,000,000,000,000,000,000
None
null
[ "CWE-79" ]
CVE-2019-20376
A cross-site scripting (XSS) vulnerability in Electronic Logbook (ELOG) 3.1.4 allows remote attackers to inject arbitrary web script or HTML via a crafted SVG document to elogd.c.
https://nvd.nist.gov/vuln/detail/CVE-2019-20376
519,265
elog
993bed4923c88593cc6b1186e0d1b9564994a25a
https://bitbucket.org/ritt/elog
https://bitbucket.org/ritt/elog/commits/993bed4923c88593cc6b1186e0d1b9564994a25a
Serve SVG files as attachments only to avoid XSS vulnerabilities
0
void get_rfc2822_date(char *date, int size, time_t ltime) { time_t now; char buf[256]; int offset; struct tm *ts; /* switch locale temporarily back to english to comply with RFC2822 date format */ setlocale(LC_ALL, "C"); if (ltime == 0) time(&now); else now = ltime; ts = localti...
133,979,571,389,856,360,000,000,000,000,000,000,000
None
null
[ "CWE-79" ]
CVE-2019-20376
A cross-site scripting (XSS) vulnerability in Electronic Logbook (ELOG) 3.1.4 allows remote attackers to inject arbitrary web script or HTML via a crafted SVG document to elogd.c.
https://nvd.nist.gov/vuln/detail/CVE-2019-20376
519,266
elog
993bed4923c88593cc6b1186e0d1b9564994a25a
https://bitbucket.org/ritt/elog
https://bitbucket.org/ritt/elog/commits/993bed4923c88593cc6b1186e0d1b9564994a25a
Serve SVG files as attachments only to avoid XSS vulnerabilities
0
void el_delete_attachment(LOGBOOK *lbs, char *file_name) { int i; char str[MAX_PATH_LENGTH], subdir[MAX_PATH_LENGTH]; strlcpy(str, lbs->data_dir, sizeof(str)); generate_subdir_name(file_name, subdir, sizeof(subdir)); strlcat(str, subdir, sizeof(str)); strlcat(str, file_name, sizeof(str)); remove(s...
183,618,412,599,688,500,000,000,000,000,000,000,000
None
null
[ "CWE-79" ]
CVE-2019-20376
A cross-site scripting (XSS) vulnerability in Electronic Logbook (ELOG) 3.1.4 allows remote attackers to inject arbitrary web script or HTML via a crafted SVG document to elogd.c.
https://nvd.nist.gov/vuln/detail/CVE-2019-20376
519,267
elog
993bed4923c88593cc6b1186e0d1b9564994a25a
https://bitbucket.org/ritt/elog
https://bitbucket.org/ritt/elog/commits/993bed4923c88593cc6b1186e0d1b9564994a25a
Serve SVG files as attachments only to avoid XSS vulnerabilities
0
void str_escape(char *ps, int size) /********************************************************************\ Encode the given string in-place by adding \\ escapes for `$"\ \********************************************************************/ { unsigned char *pd, *p; unsigned char str[NAME_LENGTH]; pd = str; ...
83,685,499,333,075,520,000,000,000,000,000,000,000
None
null
[ "CWE-79" ]
CVE-2019-20376
A cross-site scripting (XSS) vulnerability in Electronic Logbook (ELOG) 3.1.4 allows remote attackers to inject arbitrary web script or HTML via a crafted SVG document to elogd.c.
https://nvd.nist.gov/vuln/detail/CVE-2019-20376
519,268
elog
993bed4923c88593cc6b1186e0d1b9564994a25a
https://bitbucket.org/ritt/elog
https://bitbucket.org/ritt/elog/commits/993bed4923c88593cc6b1186e0d1b9564994a25a
Serve SVG files as attachments only to avoid XSS vulnerabilities
0
int add_attribute_option(LOGBOOK *lbs, char *attrname, char *attrvalue, char *condition) { int fh, i, length; char str[NAME_LENGTH], av_encoded[NAME_LENGTH], *buf, *buf2, *p1, *p2, *p3; fh = open(config_file, O_RDWR | O_BINARY, 0644); if (fh < 0) { sprintf(str, loc("Cannot open file <b>%s</b>"), conf...
107,089,770,124,322,230,000,000,000,000,000,000,000
None
null
[ "CWE-79" ]
CVE-2019-20376
A cross-site scripting (XSS) vulnerability in Electronic Logbook (ELOG) 3.1.4 allows remote attackers to inject arbitrary web script or HTML via a crafted SVG document to elogd.c.
https://nvd.nist.gov/vuln/detail/CVE-2019-20376
519,269
elog
993bed4923c88593cc6b1186e0d1b9564994a25a
https://bitbucket.org/ritt/elog
https://bitbucket.org/ritt/elog/commits/993bed4923c88593cc6b1186e0d1b9564994a25a
Serve SVG files as attachments only to avoid XSS vulnerabilities
0
void submit_config(LOGBOOK *lbs, char *server, char *buffer, char *error_str) { int i, n, port, sock, content_length, header_length, ssl; char str[256], upwd[80]; char subdir[256], param[256], remote_host_name[256]; char *content, boundary[80], request[10000], response[10000]; #ifdef HAVE_SSL SSL *ssl_co...
222,492,149,303,708,080,000,000,000,000,000,000,000
None
null
[ "CWE-79" ]
CVE-2019-20376
A cross-site scripting (XSS) vulnerability in Electronic Logbook (ELOG) 3.1.4 allows remote attackers to inject arbitrary web script or HTML via a crafted SVG document to elogd.c.
https://nvd.nist.gov/vuln/detail/CVE-2019-20376
519,270
elog
993bed4923c88593cc6b1186e0d1b9564994a25a
https://bitbucket.org/ritt/elog
https://bitbucket.org/ritt/elog/commits/993bed4923c88593cc6b1186e0d1b9564994a25a
Serve SVG files as attachments only to avoid XSS vulnerabilities
0
int create_thumbnail(LOGBOOK *lbs, char *file_name) { char str[2 * MAX_PATH_LENGTH], cmd[2 * MAX_PATH_LENGTH], thumb_size[256], thumb_options[256]; int i; if (!image_magick_exist) return 0; if (getcfg(lbs->name, "Thumbnail size", str, sizeof(str))) { if (strcmp(str, "0") == 0) return ...
250,457,825,807,811,500,000,000,000,000,000,000,000
None
null
[ "CWE-79" ]
CVE-2019-20376
A cross-site scripting (XSS) vulnerability in Electronic Logbook (ELOG) 3.1.4 allows remote attackers to inject arbitrary web script or HTML via a crafted SVG document to elogd.c.
https://nvd.nist.gov/vuln/detail/CVE-2019-20376
519,271
elog
993bed4923c88593cc6b1186e0d1b9564994a25a
https://bitbucket.org/ritt/elog
https://bitbucket.org/ritt/elog/commits/993bed4923c88593cc6b1186e0d1b9564994a25a
Serve SVG files as attachments only to avoid XSS vulnerabilities
0
int cind(char c) { int i; if (c == '=') return 0; for (i = 0; i < 64; i++) if (map[i] == c) return i; return -1; }
116,478,306,974,325,720,000,000,000,000,000,000,000
None
null
[ "CWE-79" ]
CVE-2019-20376
A cross-site scripting (XSS) vulnerability in Electronic Logbook (ELOG) 3.1.4 allows remote attackers to inject arbitrary web script or HTML via a crafted SVG document to elogd.c.
https://nvd.nist.gov/vuln/detail/CVE-2019-20376
519,272
elog
993bed4923c88593cc6b1186e0d1b9564994a25a
https://bitbucket.org/ritt/elog
https://bitbucket.org/ritt/elog/commits/993bed4923c88593cc6b1186e0d1b9564994a25a
Serve SVG files as attachments only to avoid XSS vulnerabilities
0
void strextract(const char *str, char delim, char *extr, int size) /* extract a substinr "extr" from "str" until "delim" is found */ { int i; for (i = 0; str[i] != delim && i < size - 1; i++) extr[i] = str[i]; extr[i] = 0; }
228,868,714,287,472,700,000,000,000,000,000,000,000
None
null
[ "CWE-79" ]
CVE-2019-20376
A cross-site scripting (XSS) vulnerability in Electronic Logbook (ELOG) 3.1.4 allows remote attackers to inject arbitrary web script or HTML via a crafted SVG document to elogd.c.
https://nvd.nist.gov/vuln/detail/CVE-2019-20376
519,273
elog
993bed4923c88593cc6b1186e0d1b9564994a25a
https://bitbucket.org/ritt/elog
https://bitbucket.org/ritt/elog/commits/993bed4923c88593cc6b1186e0d1b9564994a25a
Serve SVG files as attachments only to avoid XSS vulnerabilities
0
int build_subst_list(LOGBOOK *lbs, char list[][NAME_LENGTH], char value[][NAME_LENGTH], char attrib[][NAME_LENGTH], BOOL format_date) { int i; char str[NAME_LENGTH], format[256], full_name[256], user_email[256]; time_t t; struct tm *ts; /* copy attribute list */ i = 0; if (att...
57,027,991,363,497,890,000,000,000,000,000,000,000
None
null
[ "CWE-79" ]
CVE-2019-20376
A cross-site scripting (XSS) vulnerability in Electronic Logbook (ELOG) 3.1.4 allows remote attackers to inject arbitrary web script or HTML via a crafted SVG document to elogd.c.
https://nvd.nist.gov/vuln/detail/CVE-2019-20376
519,274
elog
993bed4923c88593cc6b1186e0d1b9564994a25a
https://bitbucket.org/ritt/elog
https://bitbucket.org/ritt/elog/commits/993bed4923c88593cc6b1186e0d1b9564994a25a
Serve SVG files as attachments only to avoid XSS vulnerabilities
0
void compose_base_url(LOGBOOK *lbs, char *base_url, int size, BOOL email_notify) /* return URL for elogd with optional logbook subdirectory */ { if (email_notify) if (getcfg(lbs->name, "Use Email URL", base_url, size)) return; if (!getcfg("global", "URL", base_url, size)) { if (referer[0]) ...
153,508,820,889,725,500,000,000,000,000,000,000,000
None
null
[ "CWE-79" ]
CVE-2019-20376
A cross-site scripting (XSS) vulnerability in Electronic Logbook (ELOG) 3.1.4 allows remote attackers to inject arbitrary web script or HTML via a crafted SVG document to elogd.c.
https://nvd.nist.gov/vuln/detail/CVE-2019-20376
519,275
elog
993bed4923c88593cc6b1186e0d1b9564994a25a
https://bitbucket.org/ritt/elog
https://bitbucket.org/ritt/elog/commits/993bed4923c88593cc6b1186e0d1b9564994a25a
Serve SVG files as attachments only to avoid XSS vulnerabilities
0
int get_thumb_name(const char *file_name, char *thumb_name, int size, int index) { char str[MAX_PATH_LENGTH]; thumb_name[0] = 0; /* append .png for all files as thumbnail name, except for PDF files (convert bug!) */ memset(str, 0, sizeof(str)); if (chkext(file_name, ".pdf") || chkext(file_name, ".ps"))...
55,464,471,356,813,350,000,000,000,000,000,000,000
None
null
[ "CWE-79" ]
CVE-2019-20376
A cross-site scripting (XSS) vulnerability in Electronic Logbook (ELOG) 3.1.4 allows remote attackers to inject arbitrary web script or HTML via a crafted SVG document to elogd.c.
https://nvd.nist.gov/vuln/detail/CVE-2019-20376
519,276
elog
993bed4923c88593cc6b1186e0d1b9564994a25a
https://bitbucket.org/ritt/elog
https://bitbucket.org/ritt/elog/commits/993bed4923c88593cc6b1186e0d1b9564994a25a
Serve SVG files as attachments only to avoid XSS vulnerabilities
0
int is_logbook(char *logbook) { char str[256]; if (strieq(logbook, "global")) return 0; /* check for 'global group' or 'global_xxx' */ strlcpy(str, logbook, sizeof(str)); str[7] = 0; return !strieq(str, "global "); }
156,719,486,186,798,810,000,000,000,000,000,000,000
None
null
[ "CWE-79" ]
CVE-2019-20376
A cross-site scripting (XSS) vulnerability in Electronic Logbook (ELOG) 3.1.4 allows remote attackers to inject arbitrary web script or HTML via a crafted SVG document to elogd.c.
https://nvd.nist.gov/vuln/detail/CVE-2019-20376
519,277
elog
993bed4923c88593cc6b1186e0d1b9564994a25a
https://bitbucket.org/ritt/elog
https://bitbucket.org/ritt/elog/commits/993bed4923c88593cc6b1186e0d1b9564994a25a
Serve SVG files as attachments only to avoid XSS vulnerabilities
0
int exist_top_group() { int i; char str[256]; for (i = 0;; i++) { if (!enumcfg("global", str, sizeof(str), NULL, 0, i)) break; str[9] = 0; if (strieq(str, "top group")) return 1; } return 0; }
141,905,021,559,098,920,000,000,000,000,000,000,000
None
null
[ "CWE-79" ]
CVE-2019-20376
A cross-site scripting (XSS) vulnerability in Electronic Logbook (ELOG) 3.1.4 allows remote attackers to inject arbitrary web script or HTML via a crafted SVG document to elogd.c.
https://nvd.nist.gov/vuln/detail/CVE-2019-20376
519,278
elog
993bed4923c88593cc6b1186e0d1b9564994a25a
https://bitbucket.org/ritt/elog
https://bitbucket.org/ritt/elog/commits/993bed4923c88593cc6b1186e0d1b9564994a25a
Serve SVG files as attachments only to avoid XSS vulnerabilities
0
BOOL get_password_file(LOGBOOK *lbs, char *file_name, int size) { char str[256]; getcfg(lbs->name, "Password file", str, sizeof(str)); if (!str[0]) return FALSE; if (str[0] == DIR_SEPARATOR || str[1] == ':') strlcpy(file_name, str, size); else { strlcpy(file_name, logbook_dir, size);...
284,302,709,158,660,350,000,000,000,000,000,000,000
None
null
[ "CWE-79" ]
CVE-2019-20376
A cross-site scripting (XSS) vulnerability in Electronic Logbook (ELOG) 3.1.4 allows remote attackers to inject arbitrary web script or HTML via a crafted SVG document to elogd.c.
https://nvd.nist.gov/vuln/detail/CVE-2019-20376
519,279
elog
993bed4923c88593cc6b1186e0d1b9564994a25a
https://bitbucket.org/ritt/elog
https://bitbucket.org/ritt/elog/commits/993bed4923c88593cc6b1186e0d1b9564994a25a
Serve SVG files as attachments only to avoid XSS vulnerabilities
0
const char *git_revision() { const char *p = _git_revision; if (strrchr(p, '-')) p = strrchr(p, '-') + 2; return p; }
6,080,848,277,784,865,000,000,000,000,000,000,000
None
null
[ "CWE-79" ]
CVE-2019-20376
A cross-site scripting (XSS) vulnerability in Electronic Logbook (ELOG) 3.1.4 allows remote attackers to inject arbitrary web script or HTML via a crafted SVG document to elogd.c.
https://nvd.nist.gov/vuln/detail/CVE-2019-20376
519,280
elog
993bed4923c88593cc6b1186e0d1b9564994a25a
https://bitbucket.org/ritt/elog
https://bitbucket.org/ritt/elog/commits/993bed4923c88593cc6b1186e0d1b9564994a25a
Serve SVG files as attachments only to avoid XSS vulnerabilities
0
char *param_in_str(char *str, char *param) { char *p; p = str; do { if (stristr(p, param) == NULL) return NULL; p = stristr(p, param); /* if parameter not followed by '=', skip it */ if (*(p + strlen(param)) != '=') { p += strlen(param); continue; } ...
320,995,018,787,143,020,000,000,000,000,000,000,000
None
null
[ "CWE-79" ]
CVE-2019-20376
A cross-site scripting (XSS) vulnerability in Electronic Logbook (ELOG) 3.1.4 allows remote attackers to inject arbitrary web script or HTML via a crafted SVG document to elogd.c.
https://nvd.nist.gov/vuln/detail/CVE-2019-20376
519,281
elog
993bed4923c88593cc6b1186e0d1b9564994a25a
https://bitbucket.org/ritt/elog
https://bitbucket.org/ritt/elog/commits/993bed4923c88593cc6b1186e0d1b9564994a25a
Serve SVG files as attachments only to avoid XSS vulnerabilities
0
static BOOL chkext(const char *str, const char *ext) { int extl, strl; char c1, c2; if (ext == NULL || str == NULL) return FALSE; extl = strlen(ext); strl = strlen(str); if (extl >= strl) return FALSE; str = str + strl - extl; while (*str) { c1 = *str++; c2 = *ext++; ...
237,810,662,481,792,800,000,000,000,000,000,000,000
None
null
[ "CWE-79" ]
CVE-2019-20376
A cross-site scripting (XSS) vulnerability in Electronic Logbook (ELOG) 3.1.4 allows remote attackers to inject arbitrary web script or HTML via a crafted SVG document to elogd.c.
https://nvd.nist.gov/vuln/detail/CVE-2019-20376
519,282
elog
993bed4923c88593cc6b1186e0d1b9564994a25a
https://bitbucket.org/ritt/elog
https://bitbucket.org/ritt/elog/commits/993bed4923c88593cc6b1186e0d1b9564994a25a
Serve SVG files as attachments only to avoid XSS vulnerabilities
0
void el_decode_int(char *message, char *key, char *result, int size) { char str[80]; if (result == NULL) return; *result = 0; el_decode(message, key, str, sizeof(str)); if (str[0]) sprintf(str, "%d", atoi(str)); strlcpy(result, str, size); }
136,107,433,567,925,070,000,000,000,000,000,000,000
None
null
[ "CWE-79" ]
CVE-2019-20376
A cross-site scripting (XSS) vulnerability in Electronic Logbook (ELOG) 3.1.4 allows remote attackers to inject arbitrary web script or HTML via a crafted SVG document to elogd.c.
https://nvd.nist.gov/vuln/detail/CVE-2019-20376
519,283
elog
993bed4923c88593cc6b1186e0d1b9564994a25a
https://bitbucket.org/ritt/elog
https://bitbucket.org/ritt/elog/commits/993bed4923c88593cc6b1186e0d1b9564994a25a
Serve SVG files as attachments only to avoid XSS vulnerabilities
0
void build_ref(char *ref, int size, char *mode, char *expand, char *attach, char *new_entries) { char str[1000], *p; if (strchr(getparam("cmdline"), '?')) strlcat(ref, strchr(getparam("cmdline"), '?'), size); /* eliminate old search */ if (strstr(ref, "cmd=Search&")) { strlcpy(str, strstr(ref,...
222,601,575,457,623,400,000,000,000,000,000,000,000
None
null
[ "CWE-79" ]
CVE-2019-20376
A cross-site scripting (XSS) vulnerability in Electronic Logbook (ELOG) 3.1.4 allows remote attackers to inject arbitrary web script or HTML via a crafted SVG document to elogd.c.
https://nvd.nist.gov/vuln/detail/CVE-2019-20376
519,284
elog
993bed4923c88593cc6b1186e0d1b9564994a25a
https://bitbucket.org/ritt/elog
https://bitbucket.org/ritt/elog/commits/993bed4923c88593cc6b1186e0d1b9564994a25a
Serve SVG files as attachments only to avoid XSS vulnerabilities
0
void eprintf(const char *format, ...) { va_list ap; char *msg; va_start(ap, format); xvasprintf(&msg, format, ap); va_end(ap); (*printf_handler)(msg); free(msg); }
66,871,526,137,481,190,000,000,000,000,000,000,000
None
null
[ "CWE-79" ]
CVE-2019-20376
A cross-site scripting (XSS) vulnerability in Electronic Logbook (ELOG) 3.1.4 allows remote attackers to inject arbitrary web script or HTML via a crafted SVG document to elogd.c.
https://nvd.nist.gov/vuln/detail/CVE-2019-20376
519,285
elog
993bed4923c88593cc6b1186e0d1b9564994a25a
https://bitbucket.org/ritt/elog
https://bitbucket.org/ritt/elog/commits/993bed4923c88593cc6b1186e0d1b9564994a25a
Serve SVG files as attachments only to avoid XSS vulnerabilities
0
void btou(char *str) /* convert all blanks to underscores in a string */ { int i; for (i = 0; i < (int) strlen(str); i++) if (str[i] == ' ') str[i] = '_'; }
43,559,936,061,230,645,000,000,000,000,000,000,000
None
null
[ "CWE-79" ]
CVE-2019-20376
A cross-site scripting (XSS) vulnerability in Electronic Logbook (ELOG) 3.1.4 allows remote attackers to inject arbitrary web script or HTML via a crafted SVG document to elogd.c.
https://nvd.nist.gov/vuln/detail/CVE-2019-20376
519,286
elog
993bed4923c88593cc6b1186e0d1b9564994a25a
https://bitbucket.org/ritt/elog
https://bitbucket.org/ritt/elog/commits/993bed4923c88593cc6b1186e0d1b9564994a25a
Serve SVG files as attachments only to avoid XSS vulnerabilities
0
int el_delete_message(LOGBOOK *lbs, int message_id, BOOL delete_attachments, char attachment[MAX_ATTACHMENTS][MAX_PATH_LENGTH], BOOL delete_bw_ref, BOOL delete_reply_to) /******************************************************************** Routine: el_delete_message Purpos...
262,079,653,975,791,960,000,000,000,000,000,000,000
None
null
[ "CWE-79" ]
CVE-2019-20376
A cross-site scripting (XSS) vulnerability in Electronic Logbook (ELOG) 3.1.4 allows remote attackers to inject arbitrary web script or HTML via a crafted SVG document to elogd.c.
https://nvd.nist.gov/vuln/detail/CVE-2019-20376
519,287
elog
993bed4923c88593cc6b1186e0d1b9564994a25a
https://bitbucket.org/ritt/elog
https://bitbucket.org/ritt/elog/commits/993bed4923c88593cc6b1186e0d1b9564994a25a
Serve SVG files as attachments only to avoid XSS vulnerabilities
0
void set_redir(LOGBOOK *lbs, char *redir) { char str[NAME_LENGTH]; str[0] = 0; /* prepare relative path */ if (redir[0]) strlcpy(str, redir, sizeof(str)); else { if (lbs) snprintf(str, sizeof(str), "../%s/", lbs->name_enc); else if (getcfg_topgroup()) sprintf(str, "....
291,168,077,553,328,900,000,000,000,000,000,000,000
None
null
[ "CWE-79" ]
CVE-2019-20376
A cross-site scripting (XSS) vulnerability in Electronic Logbook (ELOG) 3.1.4 allows remote attackers to inject arbitrary web script or HTML via a crafted SVG document to elogd.c.
https://nvd.nist.gov/vuln/detail/CVE-2019-20376
519,288
elog
993bed4923c88593cc6b1186e0d1b9564994a25a
https://bitbucket.org/ritt/elog
https://bitbucket.org/ritt/elog/commits/993bed4923c88593cc6b1186e0d1b9564994a25a
Serve SVG files as attachments only to avoid XSS vulnerabilities
0
BOOL isparam(char *param) { int i; if (strieq(param, "text")) return _mtext[0] != 0; for (i = 0; i < MAX_PARAM && _param[i][0]; i++) if (strieq(param, _param[i])) break; if (i < MAX_PARAM && _param[i][0]) return TRUE; return FALSE; }
230,925,658,561,845,170,000,000,000,000,000,000,000
None
null
[ "CWE-79" ]
CVE-2019-20376
A cross-site scripting (XSS) vulnerability in Electronic Logbook (ELOG) 3.1.4 allows remote attackers to inject arbitrary web script or HTML via a crafted SVG document to elogd.c.
https://nvd.nist.gov/vuln/detail/CVE-2019-20376
519,289
elog
993bed4923c88593cc6b1186e0d1b9564994a25a
https://bitbucket.org/ritt/elog
https://bitbucket.org/ritt/elog/commits/993bed4923c88593cc6b1186e0d1b9564994a25a
Serve SVG files as attachments only to avoid XSS vulnerabilities
0
void submit_elog(LOGBOOK *lbs) { char str[NAME_LENGTH], str2[NAME_LENGTH], file_name[256], error[1000], date[80], *mail_list, *rcpt_list, list[10000], *p, locked_by[256], encoding[80], attrib[MAX_N_ATTR][NAME_LENGTH], subst_str[MAX_PATH_LENGTH], in_reply_to[80], reply_to[MAX_REPLY_TO * 10], use...
269,716,534,586,102,400,000,000,000,000,000,000,000
None
null
[ "CWE-79" ]
CVE-2019-20376
A cross-site scripting (XSS) vulnerability in Electronic Logbook (ELOG) 3.1.4 allows remote attackers to inject arbitrary web script or HTML via a crafted SVG document to elogd.c.
https://nvd.nist.gov/vuln/detail/CVE-2019-20376
519,290
elog
993bed4923c88593cc6b1186e0d1b9564994a25a
https://bitbucket.org/ritt/elog
https://bitbucket.org/ritt/elog/commits/993bed4923c88593cc6b1186e0d1b9564994a25a
Serve SVG files as attachments only to avoid XSS vulnerabilities
0
int my_read(int fh, void *buffer, unsigned int bytes) { #ifdef OS_UNIX int i, n = 0; do { i = read(fh, (char *) buffer + n, bytes - n); /* don't return if an alarm signal was cought */ if (i == -1 && errno == EINTR) continue; if (i == -1) return -1; if (i == 0) ...
324,718,659,091,629,520,000,000,000,000,000,000,000
None
null
[ "CWE-79" ]
CVE-2019-20376
A cross-site scripting (XSS) vulnerability in Electronic Logbook (ELOG) 3.1.4 allows remote attackers to inject arbitrary web script or HTML via a crafted SVG document to elogd.c.
https://nvd.nist.gov/vuln/detail/CVE-2019-20376
519,291
elog
993bed4923c88593cc6b1186e0d1b9564994a25a
https://bitbucket.org/ritt/elog
https://bitbucket.org/ritt/elog/commits/993bed4923c88593cc6b1186e0d1b9564994a25a
Serve SVG files as attachments only to avoid XSS vulnerabilities
0
time_t date_to_ltime(char *date) { struct tm tms; int i, date_zone, local_zone; time_t ltime; memset(&tms, 0, sizeof(struct tm)); if (strlen(date) > 25) { /* RFC2822 compliant date */ for (i = 0; i < 12; i++) if (strncmp(date + 8, mname[i], 3) == 0) break; tms.tm...
81,307,748,167,427,320,000,000,000,000,000,000,000
None
null
[ "CWE-79" ]
CVE-2019-20376
A cross-site scripting (XSS) vulnerability in Electronic Logbook (ELOG) 3.1.4 allows remote attackers to inject arbitrary web script or HTML via a crafted SVG document to elogd.c.
https://nvd.nist.gov/vuln/detail/CVE-2019-20376
519,292
elog
993bed4923c88593cc6b1186e0d1b9564994a25a
https://bitbucket.org/ritt/elog
https://bitbucket.org/ritt/elog/commits/993bed4923c88593cc6b1186e0d1b9564994a25a
Serve SVG files as attachments only to avoid XSS vulnerabilities
0
int el_submit_attachment(LOGBOOK *lbs, const char *afilename, const char *buffer, int buffer_size, char *full_name) { char file_name[MAX_PATH_LENGTH], ext_file_name[ MAX_PATH_LENGTH + 100], str[MAX_PATH_LENGTH], *p, subdir[MAX_PATH_LENGTH]; int fh; time_t now; struct tm t...
113,479,358,929,377,960,000,000,000,000,000,000,000
None
null
[ "CWE-79" ]
CVE-2019-20376
A cross-site scripting (XSS) vulnerability in Electronic Logbook (ELOG) 3.1.4 allows remote attackers to inject arbitrary web script or HTML via a crafted SVG document to elogd.c.
https://nvd.nist.gov/vuln/detail/CVE-2019-20376
519,293
elog
993bed4923c88593cc6b1186e0d1b9564994a25a
https://bitbucket.org/ritt/elog
https://bitbucket.org/ritt/elog/commits/993bed4923c88593cc6b1186e0d1b9564994a25a
Serve SVG files as attachments only to avoid XSS vulnerabilities
0
int sendmail(LOGBOOK *lbs, char *smtp_host, char *from, char *to, char *text, char *error, int error_size) { struct sockaddr_in bind_addr; struct hostent *phe; int i, n, s, strsize; char *str; char list[MAX_N_EMAIL][NAME_LENGTH], buffer[10000], decoded[256]; memset(error, 0, error_size); if (get_...
295,016,794,013,525,400,000,000,000,000,000,000,000
None
null
[ "CWE-79" ]
CVE-2019-20376
A cross-site scripting (XSS) vulnerability in Electronic Logbook (ELOG) 3.1.4 allows remote attackers to inject arbitrary web script or HTML via a crafted SVG document to elogd.c.
https://nvd.nist.gov/vuln/detail/CVE-2019-20376
519,294
elog
993bed4923c88593cc6b1186e0d1b9564994a25a
https://bitbucket.org/ritt/elog
https://bitbucket.org/ritt/elog/commits/993bed4923c88593cc6b1186e0d1b9564994a25a
Serve SVG files as attachments only to avoid XSS vulnerabilities
0
void show_forgot_pwd_page(LOGBOOK *lbs) { int i; char str[1000], str2[1000], login_name[256], full_name[256], user_email[256], name[256], pwd[256], redir[256], smtp_host[256], mail_from[256], mail_from_name[256], subject[256], mail_text[1000], url[1000], error[1000]; if (isparam("login_n...
314,998,734,513,072,450,000,000,000,000,000,000,000
None
null
[ "CWE-79" ]
CVE-2019-20376
A cross-site scripting (XSS) vulnerability in Electronic Logbook (ELOG) 3.1.4 allows remote attackers to inject arbitrary web script or HTML via a crafted SVG document to elogd.c.
https://nvd.nist.gov/vuln/detail/CVE-2019-20376
519,295
elog
993bed4923c88593cc6b1186e0d1b9564994a25a
https://bitbucket.org/ritt/elog
https://bitbucket.org/ritt/elog/commits/993bed4923c88593cc6b1186e0d1b9564994a25a
Serve SVG files as attachments only to avoid XSS vulnerabilities
0
int is_html(char *s) { char *str, *p; int i; str = xstrdup(s); for (i = 0; i < (int) strlen(s); i++) str[i] = toupper(s[i]); str[i] = 0; for (i = 0; html_tags[i][0]; i++) { p = strstr(str, html_tags[i]); if (p && strchr(p, '>') && (p == str || (p > str && *(p - 1) != '\\'))) { ...
145,142,659,210,205,230,000,000,000,000,000,000,000
None
null
[ "CWE-79" ]
CVE-2019-20376
A cross-site scripting (XSS) vulnerability in Electronic Logbook (ELOG) 3.1.4 allows remote attackers to inject arbitrary web script or HTML via a crafted SVG document to elogd.c.
https://nvd.nist.gov/vuln/detail/CVE-2019-20376
519,296
elog
993bed4923c88593cc6b1186e0d1b9564994a25a
https://bitbucket.org/ritt/elog
https://bitbucket.org/ritt/elog/commits/993bed4923c88593cc6b1186e0d1b9564994a25a
Serve SVG files as attachments only to avoid XSS vulnerabilities
0
void efputs(const char *buf) { (*fputs_handler)(buf); }
326,809,889,506,707,100,000,000,000,000,000,000,000
None
null
[ "CWE-79" ]
CVE-2019-20376
A cross-site scripting (XSS) vulnerability in Electronic Logbook (ELOG) 3.1.4 allows remote attackers to inject arbitrary web script or HTML via a crafted SVG document to elogd.c.
https://nvd.nist.gov/vuln/detail/CVE-2019-20376
519,297
elog
993bed4923c88593cc6b1186e0d1b9564994a25a
https://bitbucket.org/ritt/elog
https://bitbucket.org/ritt/elog/commits/993bed4923c88593cc6b1186e0d1b9564994a25a
Serve SVG files as attachments only to avoid XSS vulnerabilities
0
void adjust_crlf(char *buffer, int bufsize) { char *p; UNUSED(bufsize); #ifdef OS_UNIX /* convert \r\n -> \n */ p = buffer; while ((p = strstr(p, "\r\n")) != NULL) { memmove(p, p + 1, strlen(p + 1) + 1); // strcpy() gives error under Ubuntu } #else ...
262,877,527,008,174,100,000,000,000,000,000,000,000
None
null
[ "CWE-79" ]
CVE-2019-20376
A cross-site scripting (XSS) vulnerability in Electronic Logbook (ELOG) 3.1.4 allows remote attackers to inject arbitrary web script or HTML via a crafted SVG document to elogd.c.
https://nvd.nist.gov/vuln/detail/CVE-2019-20376
519,298
elog
993bed4923c88593cc6b1186e0d1b9564994a25a
https://bitbucket.org/ritt/elog
https://bitbucket.org/ritt/elog/commits/993bed4923c88593cc6b1186e0d1b9564994a25a
Serve SVG files as attachments only to avoid XSS vulnerabilities
0
void _MD5_update(MD5_CONTEXT *pctx, const void *pdata, unsigned int len) { unsigned char *pin; unsigned int i, index, partlen; pin = (unsigned char *) pdata; // compute number of bytes mod 64 index = (unsigned int) ((pctx->count[0] >> 3) & 0x3F); // update number of bits if ((pctx->count[0] += (...
250,572,515,222,375,150,000,000,000,000,000,000,000
None
null
[ "CWE-79" ]
CVE-2019-20376
A cross-site scripting (XSS) vulnerability in Electronic Logbook (ELOG) 3.1.4 allows remote attackers to inject arbitrary web script or HTML via a crafted SVG document to elogd.c.
https://nvd.nist.gov/vuln/detail/CVE-2019-20376
519,299
elog
993bed4923c88593cc6b1186e0d1b9564994a25a
https://bitbucket.org/ritt/elog
https://bitbucket.org/ritt/elog/commits/993bed4923c88593cc6b1186e0d1b9564994a25a
Serve SVG files as attachments only to avoid XSS vulnerabilities
0
int strbreak(char *str, char list[][NAME_LENGTH], int size, char *brk, BOOL ignore_quotes) /* break comma-separated list into char array, stripping leading and trailing blanks */ { int i, j; char *p; memset(list, 0, size * NAME_LENGTH); p = str; if (!p || !*p) return 0; while (*p == ' ') ...
175,516,502,071,767,970,000,000,000,000,000,000,000
None
null
[ "CWE-79" ]
CVE-2019-20376
A cross-site scripting (XSS) vulnerability in Electronic Logbook (ELOG) 3.1.4 allows remote attackers to inject arbitrary web script or HTML via a crafted SVG document to elogd.c.
https://nvd.nist.gov/vuln/detail/CVE-2019-20376
519,300
elog
993bed4923c88593cc6b1186e0d1b9564994a25a
https://bitbucket.org/ritt/elog
https://bitbucket.org/ritt/elog/commits/993bed4923c88593cc6b1186e0d1b9564994a25a
Serve SVG files as attachments only to avoid XSS vulnerabilities
0
void highlight_searchtext(regex_t *re_buf, char *src, char *dst, int hidden) { char *pt, *pt1; int size, status; regmatch_t pmatch[10]; dst[0] = 0; pt = src; /* original text */ pt1 = dst; /* text with inserted coloring */ do { status = regexec(re_buf, pt...
272,415,515,271,492,250,000,000,000,000,000,000,000
None
null
[ "CWE-79" ]
CVE-2019-20376
A cross-site scripting (XSS) vulnerability in Electronic Logbook (ELOG) 3.1.4 allows remote attackers to inject arbitrary web script or HTML via a crafted SVG document to elogd.c.
https://nvd.nist.gov/vuln/detail/CVE-2019-20376
519,301
elog
993bed4923c88593cc6b1186e0d1b9564994a25a
https://bitbucket.org/ritt/elog
https://bitbucket.org/ritt/elog/commits/993bed4923c88593cc6b1186e0d1b9564994a25a
Serve SVG files as attachments only to avoid XSS vulnerabilities
0
void xml_import(LOGBOOK *lbs, const char *xml, const char *xmlfile) { char str[NAME_LENGTH], date[80], error[256], encoding[256], *list, *p, in_reply_to[80], reply_to[MAX_REPLY_TO * 10], attachment[MAX_ATTACHMENTS][MAX_PATH_LENGTH], attachment_all[64 ...
158,382,666,783,049,650,000,000,000,000,000,000,000
None
null
[ "CWE-79" ]
CVE-2019-20376
A cross-site scripting (XSS) vulnerability in Electronic Logbook (ELOG) 3.1.4 allows remote attackers to inject arbitrary web script or HTML via a crafted SVG document to elogd.c.
https://nvd.nist.gov/vuln/detail/CVE-2019-20376
519,302
elog
993bed4923c88593cc6b1186e0d1b9564994a25a
https://bitbucket.org/ritt/elog
https://bitbucket.org/ritt/elog/commits/993bed4923c88593cc6b1186e0d1b9564994a25a
Serve SVG files as attachments only to avoid XSS vulnerabilities
0
void insert_breaks(char *str, int n, int size) { int i, j, i_last; i_last = 0; for (i = 0; i < (int) strlen(str); i++) { if (str[i] == '\r') i_last = i; /* if more than n chars without return, insert one */ if (i - i_last >= n && (int) strlen(str) + 3 < size) { /* find pr...
251,674,280,772,745,800,000,000,000,000,000,000,000
None
null
[ "CWE-79" ]
CVE-2019-20376
A cross-site scripting (XSS) vulnerability in Electronic Logbook (ELOG) 3.1.4 allows remote attackers to inject arbitrary web script or HTML via a crafted SVG document to elogd.c.
https://nvd.nist.gov/vuln/detail/CVE-2019-20376
519,303
elog
993bed4923c88593cc6b1186e0d1b9564994a25a
https://bitbucket.org/ritt/elog
https://bitbucket.org/ritt/elog/commits/993bed4923c88593cc6b1186e0d1b9564994a25a
Serve SVG files as attachments only to avoid XSS vulnerabilities
0
BOOL file_exist(char *file_name) { int fh; fh = open(file_name, O_RDONLY); if (fh < 0) return FALSE; close(fh); return TRUE; }
143,877,210,483,299,430,000,000,000,000,000,000,000
None
null
[ "CWE-79" ]
CVE-2019-20376
A cross-site scripting (XSS) vulnerability in Electronic Logbook (ELOG) 3.1.4 allows remote attackers to inject arbitrary web script or HTML via a crafted SVG document to elogd.c.
https://nvd.nist.gov/vuln/detail/CVE-2019-20376
519,304
elog
993bed4923c88593cc6b1186e0d1b9564994a25a
https://bitbucket.org/ritt/elog
https://bitbucket.org/ritt/elog/commits/993bed4923c88593cc6b1186e0d1b9564994a25a
Serve SVG files as attachments only to avoid XSS vulnerabilities
0
void show_plain_header(int size, char *file_name) { /* header */ rsprintf("HTTP/1.1 200 Document follows\r\n"); rsprintf("Server: ELOG HTTP %s-%s\r\n", VERSION, git_revision()); rsprintf("Accept-Ranges: bytes\r\n"); if (keep_alive) { rsprintf("Connection: Keep-Alive\r\n"); rsprintf("Keep-Ali...
309,765,144,091,216,460,000,000,000,000,000,000,000
None
null
[ "CWE-79" ]
CVE-2019-20376
A cross-site scripting (XSS) vulnerability in Electronic Logbook (ELOG) 3.1.4 allows remote attackers to inject arbitrary web script or HTML via a crafted SVG document to elogd.c.
https://nvd.nist.gov/vuln/detail/CVE-2019-20376
519,305
elog
993bed4923c88593cc6b1186e0d1b9564994a25a
https://bitbucket.org/ritt/elog
https://bitbucket.org/ritt/elog/commits/993bed4923c88593cc6b1186e0d1b9564994a25a
Serve SVG files as attachments only to avoid XSS vulnerabilities
0
void rsputs2(LOGBOOK *lbs, int absolute_link, const char *str) { int i, j, k, l, n; char *p, *pd, link[1000], link_text[1000]; if (strlen_retbuf + (int) (2 * strlen(str) + 1000) >= return_buffer_size) { return_buffer = xrealloc(return_buffer, return_buffer_size + 100000); memset(return_buffer + re...
276,084,512,851,106,670,000,000,000,000,000,000,000
None
null
[ "CWE-79" ]
CVE-2019-20376
A cross-site scripting (XSS) vulnerability in Electronic Logbook (ELOG) 3.1.4 allows remote attackers to inject arbitrary web script or HTML via a crafted SVG document to elogd.c.
https://nvd.nist.gov/vuln/detail/CVE-2019-20376
519,306
elog
993bed4923c88593cc6b1186e0d1b9564994a25a
https://bitbucket.org/ritt/elog
https://bitbucket.org/ritt/elog/commits/993bed4923c88593cc6b1186e0d1b9564994a25a
Serve SVG files as attachments only to avoid XSS vulnerabilities
0
void show_admin_page(LOGBOOK *lbs, char *top_group) { int rows, cols; char *buffer, error_str[256]; char section[NAME_LENGTH], str[NAME_LENGTH], grp[NAME_LENGTH]; /*---- header ----*/ sprintf(str, "ELOG %s", loc("Admin")); show_html_header(lbs, FALSE, str, TRUE, FALSE, NULL, FALSE, 0); rsprintf(...
274,428,521,966,140,500,000,000,000,000,000,000,000
None
null
[ "CWE-79" ]
CVE-2019-20376
A cross-site scripting (XSS) vulnerability in Electronic Logbook (ELOG) 3.1.4 allows remote attackers to inject arbitrary web script or HTML via a crafted SVG document to elogd.c.
https://nvd.nist.gov/vuln/detail/CVE-2019-20376
519,307
elog
993bed4923c88593cc6b1186e0d1b9564994a25a
https://bitbucket.org/ritt/elog
https://bitbucket.org/ritt/elog/commits/993bed4923c88593cc6b1186e0d1b9564994a25a
Serve SVG files as attachments only to avoid XSS vulnerabilities
0
void show_elog_list(LOGBOOK *lbs, int past_n, int last_n, int page_n, BOOL default_page, char *info) { int i, j, n, index, size, status, d1, m1, y1, h1, n1, c1, d2, m2, y2, h2, n2, c2, n_line, flags, printable, n_logbook, n_display, reverse, numeric, n_attr_disp, n_msg, search_all, message_id, ...
167,202,037,606,087,370,000,000,000,000,000,000,000
None
null
[ "CWE-79" ]
CVE-2019-20376
A cross-site scripting (XSS) vulnerability in Electronic Logbook (ELOG) 3.1.4 allows remote attackers to inject arbitrary web script or HTML via a crafted SVG document to elogd.c.
https://nvd.nist.gov/vuln/detail/CVE-2019-20376
519,308
elog
993bed4923c88593cc6b1186e0d1b9564994a25a
https://bitbucket.org/ritt/elog
https://bitbucket.org/ritt/elog/commits/993bed4923c88593cc6b1186e0d1b9564994a25a
Serve SVG files as attachments only to avoid XSS vulnerabilities
0
int is_ascii(char *file_name) { int i, fh, length; unsigned char *buf; fh = open(file_name, O_RDONLY | O_BINARY); if (fh < 0) return FALSE; lseek(fh, 0, SEEK_END); length = TELL(fh); lseek(fh, 0, SEEK_SET); if (length > 1000) length = 1000; buf = xmalloc(length); read(fh, buf,...
52,636,882,465,687,110,000,000,000,000,000,000,000
None
null
[ "CWE-79" ]
CVE-2019-20376
A cross-site scripting (XSS) vulnerability in Electronic Logbook (ELOG) 3.1.4 allows remote attackers to inject arbitrary web script or HTML via a crafted SVG document to elogd.c.
https://nvd.nist.gov/vuln/detail/CVE-2019-20376
519,309
elog
993bed4923c88593cc6b1186e0d1b9564994a25a
https://bitbucket.org/ritt/elog
https://bitbucket.org/ritt/elog/commits/993bed4923c88593cc6b1186e0d1b9564994a25a
Serve SVG files as attachments only to avoid XSS vulnerabilities
0
void el_enum_attr(char *message, int n, char *attr_name, char *attr_value) { char *p, str[NAME_LENGTH], tmp[NAME_LENGTH]; int i; p = message; for (i = 0; i <= n; i++) { strlcpy(str, p, sizeof(str)); if (strchr(str, '\n')) *strchr(str, '\n') = 0; if (strchr(str, '\r')) *s...
190,317,069,151,278,150,000,000,000,000,000,000,000
None
null
[ "CWE-79" ]
CVE-2019-20376
A cross-site scripting (XSS) vulnerability in Electronic Logbook (ELOG) 3.1.4 allows remote attackers to inject arbitrary web script or HTML via a crafted SVG document to elogd.c.
https://nvd.nist.gov/vuln/detail/CVE-2019-20376
519,310
elog
993bed4923c88593cc6b1186e0d1b9564994a25a
https://bitbucket.org/ritt/elog
https://bitbucket.org/ritt/elog/commits/993bed4923c88593cc6b1186e0d1b9564994a25a
Serve SVG files as attachments only to avoid XSS vulnerabilities
0
int get_verbose(void) { return _verbose_level; }
163,000,546,827,155,800,000,000,000,000,000,000,000
None
null
[ "CWE-79" ]
CVE-2019-20376
A cross-site scripting (XSS) vulnerability in Electronic Logbook (ELOG) 3.1.4 allows remote attackers to inject arbitrary web script or HTML via a crafted SVG document to elogd.c.
https://nvd.nist.gov/vuln/detail/CVE-2019-20376
519,311
elog
993bed4923c88593cc6b1186e0d1b9564994a25a
https://bitbucket.org/ritt/elog
https://bitbucket.org/ritt/elog/commits/993bed4923c88593cc6b1186e0d1b9564994a25a
Serve SVG files as attachments only to avoid XSS vulnerabilities
0
void replace_inline_img(LOGBOOK *lbs, char *str) { char *p, *pn, *pa, old[256], link[256], base_url[256], domain[256]; int index; p = str; do { p = strstr(p, "<img "); if (p) { pn = strstr(p, "name="); if (pn) { pn += 9; index = atoi(pn); wh...
94,516,848,144,282,600,000,000,000,000,000,000,000
None
null
[ "CWE-79" ]
CVE-2019-20376
A cross-site scripting (XSS) vulnerability in Electronic Logbook (ELOG) 3.1.4 allows remote attackers to inject arbitrary web script or HTML via a crafted SVG document to elogd.c.
https://nvd.nist.gov/vuln/detail/CVE-2019-20376
519,312
elog
993bed4923c88593cc6b1186e0d1b9564994a25a
https://bitbucket.org/ritt/elog
https://bitbucket.org/ritt/elog/commits/993bed4923c88593cc6b1186e0d1b9564994a25a
Serve SVG files as attachments only to avoid XSS vulnerabilities
0
void serialdate2date(double days, int *day, int *month, int *year) /* convert days since 1.1.1900 to date */ { int i, j, l, n; l = (int) days + 68569 + 2415019; n = (int) ((4 * l) / 146097); l = l - (int) ((146097 * n + 3) / 4); i = (int) ((4000 * (l + 1)) / 1461001); l = l - (int) ((1461 * i) / 4) +...
103,359,352,840,009,860,000,000,000,000,000,000,000
None
null
[ "CWE-79" ]
CVE-2019-20376
A cross-site scripting (XSS) vulnerability in Electronic Logbook (ELOG) 3.1.4 allows remote attackers to inject arbitrary web script or HTML via a crafted SVG document to elogd.c.
https://nvd.nist.gov/vuln/detail/CVE-2019-20376
519,313
elog
993bed4923c88593cc6b1186e0d1b9564994a25a
https://bitbucket.org/ritt/elog
https://bitbucket.org/ritt/elog/commits/993bed4923c88593cc6b1186e0d1b9564994a25a
Serve SVG files as attachments only to avoid XSS vulnerabilities
0
void base64_bufenc(unsigned char *s, int len, char *d) { unsigned int t, pad; int i; pad = 3 - len % 3; if (pad == 3) pad = 0; for (i = 0; i < len;) { t = s[i++] << 16; if (i < len) t |= s[i++] << 8; if (i < len) t |= s[i++] << 0; *(d + 3) = map[t & 63]; ...
97,849,013,488,723,470,000,000,000,000,000,000,000
None
null
[ "CWE-79" ]
CVE-2019-20376
A cross-site scripting (XSS) vulnerability in Electronic Logbook (ELOG) 3.1.4 allows remote attackers to inject arbitrary web script or HTML via a crafted SVG document to elogd.c.
https://nvd.nist.gov/vuln/detail/CVE-2019-20376
519,314
elog
993bed4923c88593cc6b1186e0d1b9564994a25a
https://bitbucket.org/ritt/elog
https://bitbucket.org/ritt/elog/commits/993bed4923c88593cc6b1186e0d1b9564994a25a
Serve SVG files as attachments only to avoid XSS vulnerabilities
0
void rsputs(const char *str) { if (strlen_retbuf + (int) strlen(str) + 1 >= return_buffer_size) { return_buffer = xrealloc(return_buffer, return_buffer_size + (int) strlen(str) + 100000); memset(return_buffer + return_buffer_size, 0, (int) strlen(str) + 100000); return_buffer_size += (int) strlen(s...
62,823,950,444,400,560,000,000,000,000,000,000,000
None
null
[ "CWE-79" ]
CVE-2019-20376
A cross-site scripting (XSS) vulnerability in Electronic Logbook (ELOG) 3.1.4 allows remote attackers to inject arbitrary web script or HTML via a crafted SVG document to elogd.c.
https://nvd.nist.gov/vuln/detail/CVE-2019-20376
519,315
elog
993bed4923c88593cc6b1186e0d1b9564994a25a
https://bitbucket.org/ritt/elog
https://bitbucket.org/ritt/elog/commits/993bed4923c88593cc6b1186e0d1b9564994a25a
Serve SVG files as attachments only to avoid XSS vulnerabilities
0
void receive_config(LOGBOOK *lbs, char *server, char *error_str) { char str[256], pwd[256], *buffer, *p; int status, version, ssl; error_str[0] = 0; do { combine_url(lbs, server, "", str, sizeof(str), &ssl); if (lbs == NULL) strcat(str, "?cmd=GetConfig"); // request complete config f...
36,387,444,060,515,385,000,000,000,000,000,000,000
None
null
[ "CWE-79" ]
CVE-2019-20376
A cross-site scripting (XSS) vulnerability in Electronic Logbook (ELOG) 3.1.4 allows remote attackers to inject arbitrary web script or HTML via a crafted SVG document to elogd.c.
https://nvd.nist.gov/vuln/detail/CVE-2019-20376
519,316
elog
993bed4923c88593cc6b1186e0d1b9564994a25a
https://bitbucket.org/ritt/elog
https://bitbucket.org/ritt/elog/commits/993bed4923c88593cc6b1186e0d1b9564994a25a
Serve SVG files as attachments only to avoid XSS vulnerabilities
0
void csv_import(LOGBOOK *lbs, const char *csv, const char *csvfile) { const char *p; char *line, *list; char str[256], date[80], sep[80]; int i, j, n, n_attr, iline, n_imported, textcol, datecol, attr_offset; BOOL first, in_quotes, filltext; time_t ltime; list = (char *) xmalloc((MAX_N_ATTR + 2) *...
45,625,755,809,993,900,000,000,000,000,000,000,000
None
null
[ "CWE-79" ]
CVE-2019-20376
A cross-site scripting (XSS) vulnerability in Electronic Logbook (ELOG) 3.1.4 allows remote attackers to inject arbitrary web script or HTML via a crafted SVG document to elogd.c.
https://nvd.nist.gov/vuln/detail/CVE-2019-20376
519,317
elog
993bed4923c88593cc6b1186e0d1b9564994a25a
https://bitbucket.org/ritt/elog
https://bitbucket.org/ritt/elog/commits/993bed4923c88593cc6b1186e0d1b9564994a25a
Serve SVG files as attachments only to avoid XSS vulnerabilities
0
BOOL subst_param(char *str, int size, char *param, char *value) { int len; char *p1, *p2, *s, param_enc[256], str2[256]; strlcpy(param_enc, param, sizeof(param_enc)); url_slash_encode(param_enc, sizeof(param_enc)); if (!value[0]) { /* remove parameter */ s = param_in_str(str, param_enc); ...
84,105,552,559,987,290,000,000,000,000,000,000,000
None
null
[ "CWE-79" ]
CVE-2019-20376
A cross-site scripting (XSS) vulnerability in Electronic Logbook (ELOG) 3.1.4 allows remote attackers to inject arbitrary web script or HTML via a crafted SVG document to elogd.c.
https://nvd.nist.gov/vuln/detail/CVE-2019-20376
519,318
elog
993bed4923c88593cc6b1186e0d1b9564994a25a
https://bitbucket.org/ritt/elog
https://bitbucket.org/ritt/elog/commits/993bed4923c88593cc6b1186e0d1b9564994a25a
Serve SVG files as attachments only to avoid XSS vulnerabilities
0
int recv_string(int sock, char *buffer, int buffer_size, int millisec) { int i, n; fd_set readfds; struct timeval timeout; n = 0; memset(buffer, 0, buffer_size); do { if (millisec > 0) { FD_ZERO(&readfds); FD_SET(sock, &readfds); timeout.tv_sec = millisec / 1000; ...
222,585,401,404,309,700,000,000,000,000,000,000,000
None
null
[ "CWE-79" ]
CVE-2019-20376
A cross-site scripting (XSS) vulnerability in Electronic Logbook (ELOG) 3.1.4 allows remote attackers to inject arbitrary web script or HTML via a crafted SVG document to elogd.c.
https://nvd.nist.gov/vuln/detail/CVE-2019-20376
519,319
elog
993bed4923c88593cc6b1186e0d1b9564994a25a
https://bitbucket.org/ritt/elog
https://bitbucket.org/ritt/elog/commits/993bed4923c88593cc6b1186e0d1b9564994a25a
Serve SVG files as attachments only to avoid XSS vulnerabilities
0
int max_attachment_size(LOGBOOK *lbs, int message_id) { char att_file[MAX_ATTACHMENTS][MAX_PATH_LENGTH]; int index, max_size, fh; char str[256], subdir[256], file_name[256]; el_retrieve(lbs, message_id, NULL, NULL, NULL, 0, NULL, 0, NULL, NULL, att_file, NULL, NULL, NULL); max_size = 0; for (index =...
26,025,253,813,347,180,000,000,000,000,000,000,000
None
null
[ "CWE-79" ]
CVE-2019-20376
A cross-site scripting (XSS) vulnerability in Electronic Logbook (ELOG) 3.1.4 allows remote attackers to inject arbitrary web script or HTML via a crafted SVG document to elogd.c.
https://nvd.nist.gov/vuln/detail/CVE-2019-20376
519,320
elog
993bed4923c88593cc6b1186e0d1b9564994a25a
https://bitbucket.org/ritt/elog
https://bitbucket.org/ritt/elog/commits/993bed4923c88593cc6b1186e0d1b9564994a25a
Serve SVG files as attachments only to avoid XSS vulnerabilities
0
void send_file_direct(char *file_name) { int fh, i, length, delta; char str[MAX_PATH_LENGTH], dir[MAX_PATH_LENGTH], charset[80]; getcwd(dir, sizeof(dir)); fh = open(file_name, O_RDONLY | O_BINARY); if (fh > 0) { lseek(fh, 0, SEEK_END); length = TELL(fh); lseek(fh, 0, SEEK_SET); ...
325,071,300,405,512,530,000,000,000,000,000,000,000
None
null
[ "CWE-79" ]
CVE-2019-20376
A cross-site scripting (XSS) vulnerability in Electronic Logbook (ELOG) 3.1.4 allows remote attackers to inject arbitrary web script or HTML via a crafted SVG document to elogd.c.
https://nvd.nist.gov/vuln/detail/CVE-2019-20376
519,321
elog
993bed4923c88593cc6b1186e0d1b9564994a25a
https://bitbucket.org/ritt/elog
https://bitbucket.org/ritt/elog/commits/993bed4923c88593cc6b1186e0d1b9564994a25a
Serve SVG files as attachments only to avoid XSS vulnerabilities
0
void add_logbook_to_group(LOGBOOK *lbs, char *new_name) { int i, j, n, flag; char str[1000], grpname[256], grpmembers[1000]; char grplist[MAX_N_LIST][NAME_LENGTH]; /* enumerate groups */ for (i = 0;; i++) { if (!enumcfg("global", grpname, sizeof(grpname), grpmembers, sizeof(grpmembers), i)) ...
272,684,808,388,990,000,000,000,000,000,000,000,000
None
null
[ "CWE-79" ]
CVE-2019-20376
A cross-site scripting (XSS) vulnerability in Electronic Logbook (ELOG) 3.1.4 allows remote attackers to inject arbitrary web script or HTML via a crafted SVG document to elogd.c.
https://nvd.nist.gov/vuln/detail/CVE-2019-20376
519,322
elog
993bed4923c88593cc6b1186e0d1b9564994a25a
https://bitbucket.org/ritt/elog
https://bitbucket.org/ritt/elog/commits/993bed4923c88593cc6b1186e0d1b9564994a25a
Serve SVG files as attachments only to avoid XSS vulnerabilities
0
int setparam(char *param, char *value) { int i; char str[10000]; if (strieq(param, "text")) { if (strlen(value) >= TEXT_SIZE) { sprintf(str, "Error: Entry text too big (%lu bytes). Please increase TEXT_SIZE and recompile elogd\n", (unsigned long) strlen(value))...
4,502,966,986,362,638,000,000,000,000,000,000,000
None
null
[ "CWE-79" ]
CVE-2019-20376
A cross-site scripting (XSS) vulnerability in Electronic Logbook (ELOG) 3.1.4 allows remote attackers to inject arbitrary web script or HTML via a crafted SVG document to elogd.c.
https://nvd.nist.gov/vuln/detail/CVE-2019-20376
519,323
elog
993bed4923c88593cc6b1186e0d1b9564994a25a
https://bitbucket.org/ritt/elog
https://bitbucket.org/ritt/elog/commits/993bed4923c88593cc6b1186e0d1b9564994a25a
Serve SVG files as attachments only to avoid XSS vulnerabilities
0
int ascii_compare2(const void *s1, const void *s2) { return stricmp((char *) s1, (char *) s2); }
239,810,044,650,816,240,000,000,000,000,000,000,000
None
null
[ "CWE-79" ]
CVE-2019-20376
A cross-site scripting (XSS) vulnerability in Electronic Logbook (ELOG) 3.1.4 allows remote attackers to inject arbitrary web script or HTML via a crafted SVG document to elogd.c.
https://nvd.nist.gov/vuln/detail/CVE-2019-20376
519,324
elog
993bed4923c88593cc6b1186e0d1b9564994a25a
https://bitbucket.org/ritt/elog
https://bitbucket.org/ritt/elog/commits/993bed4923c88593cc6b1186e0d1b9564994a25a
Serve SVG files as attachments only to avoid XSS vulnerabilities
0
char *getparam(char *param) { int i; if (strieq(param, "text")) return _mtext; if (strieq(param, "cmdline")) return _cmdline; for (i = 0; i < MAX_PARAM && _param[i][0]; i++) if (strieq(param, _param[i])) break; if (i < MAX_PARAM && _param[i][0]) return _value[i]; ...
116,091,072,744,382,420,000,000,000,000,000,000,000
None
null
[ "CWE-79" ]
CVE-2019-20376
A cross-site scripting (XSS) vulnerability in Electronic Logbook (ELOG) 3.1.4 allows remote attackers to inject arbitrary web script or HTML via a crafted SVG document to elogd.c.
https://nvd.nist.gov/vuln/detail/CVE-2019-20376
519,325
elog
993bed4923c88593cc6b1186e0d1b9564994a25a
https://bitbucket.org/ritt/elog
https://bitbucket.org/ritt/elog/commits/993bed4923c88593cc6b1186e0d1b9564994a25a
Serve SVG files as attachments only to avoid XSS vulnerabilities
0
void show_change_pwd_page(LOGBOOK *lbs) { char str[256], config[256], old_pwd[256], new_pwd[256], new_pwd2[256], user[256], auth[32], error_str[256]; int wrong_pwd; /* otherwise calls with null lbs which make this procedure crash */ if (lbs == NULL) lbs = get_first_lbs_with_global_passwd(); if (lb...
54,886,924,351,533,780,000,000,000,000,000,000,000
None
null
[ "CWE-79" ]
CVE-2019-20376
A cross-site scripting (XSS) vulnerability in Electronic Logbook (ELOG) 3.1.4 allows remote attackers to inject arbitrary web script or HTML via a crafted SVG document to elogd.c.
https://nvd.nist.gov/vuln/detail/CVE-2019-20376
519,326
elog
993bed4923c88593cc6b1186e0d1b9564994a25a
https://bitbucket.org/ritt/elog
https://bitbucket.org/ritt/elog/commits/993bed4923c88593cc6b1186e0d1b9564994a25a
Serve SVG files as attachments only to avoid XSS vulnerabilities
0
int el_move_message_thread(LOGBOOK *lbs, int message_id) { int i, n, size, new_id; char date[80], attrib[MAX_N_ATTR][NAME_LENGTH], *text, in_reply_to[80], reply_to[MAX_REPLY_TO * 10], encoding[80], locked_by[256], draft[256]; char list[MAX_N_ATTR][NAME_LENGTH], str[256]; char att_file[MAX_ATTACHM...
88,286,593,060,008,600,000,000,000,000,000,000,000
None
null
[ "CWE-79" ]
CVE-2019-20376
A cross-site scripting (XSS) vulnerability in Electronic Logbook (ELOG) 3.1.4 allows remote attackers to inject arbitrary web script or HTML via a crafted SVG document to elogd.c.
https://nvd.nist.gov/vuln/detail/CVE-2019-20376
519,327
elog
993bed4923c88593cc6b1186e0d1b9564994a25a
https://bitbucket.org/ritt/elog
https://bitbucket.org/ritt/elog/commits/993bed4923c88593cc6b1186e0d1b9564994a25a
Serve SVG files as attachments only to avoid XSS vulnerabilities
0
int submit_message(LOGBOOK *lbs, char *host, int message_id, char *error_str) { int size, i, n, status, fh, port, sock, content_length, header_length, remote_id, n_attr, ssl; char str[256], file_name[MAX_PATH_LENGTH], attrib[MAX_N_ATTR][NAME_LENGTH]; char subdir[256], param[256], remote_host_name[256], url[256...
207,771,920,315,290,450,000,000,000,000,000,000,000
None
null
[ "CWE-79" ]
CVE-2019-20376
A cross-site scripting (XSS) vulnerability in Electronic Logbook (ELOG) 3.1.4 allows remote attackers to inject arbitrary web script or HTML via a crafted SVG document to elogd.c.
https://nvd.nist.gov/vuln/detail/CVE-2019-20376
519,328
elog
993bed4923c88593cc6b1186e0d1b9564994a25a
https://bitbucket.org/ritt/elog
https://bitbucket.org/ritt/elog/commits/993bed4923c88593cc6b1186e0d1b9564994a25a
Serve SVG files as attachments only to avoid XSS vulnerabilities
0
int check_language() { char language[256], file_name[256], *p; int fh, length, n; struct stat cfg_stat; getcfg("global", "Language", language, sizeof(language)); /* set locale for strftime */ if (language[0]) setlocale(LC_ALL, language); else setlocale(LC_ALL, "english"); /* force...
302,264,722,754,784,380,000,000,000,000,000,000,000
None
null
[ "CWE-79" ]
CVE-2019-20376
A cross-site scripting (XSS) vulnerability in Electronic Logbook (ELOG) 3.1.4 allows remote attackers to inject arbitrary web script or HTML via a crafted SVG document to elogd.c.
https://nvd.nist.gov/vuln/detail/CVE-2019-20376
519,329
elog
993bed4923c88593cc6b1186e0d1b9564994a25a
https://bitbucket.org/ritt/elog
https://bitbucket.org/ritt/elog/commits/993bed4923c88593cc6b1186e0d1b9564994a25a
Serve SVG files as attachments only to avoid XSS vulnerabilities
0
int show_download_page(LOGBOOK *lbs, char *path) { char file_name[256], error_str[256]; int index, message_id, fh, i, size, delta; char message[TEXT_SIZE + 1000], *p, *buffer; if (stricmp(path, "gbl") == 0) { /* return complete config file */ load_config_section(NULL, &buffer, error_str); ...
285,493,149,666,481,400,000,000,000,000,000,000,000
None
null
[ "CWE-79" ]
CVE-2019-20376
A cross-site scripting (XSS) vulnerability in Electronic Logbook (ELOG) 3.1.4 allows remote attackers to inject arbitrary web script or HTML via a crafted SVG document to elogd.c.
https://nvd.nist.gov/vuln/detail/CVE-2019-20376
519,330
elog
993bed4923c88593cc6b1186e0d1b9564994a25a
https://bitbucket.org/ritt/elog
https://bitbucket.org/ritt/elog/commits/993bed4923c88593cc6b1186e0d1b9564994a25a
Serve SVG files as attachments only to avoid XSS vulnerabilities
0
void strsubst_list(char *string, int size, char name[][NAME_LENGTH], char value[][NAME_LENGTH], int n) /* subsitute "$name" with value corresponding to name */ { int i, j; char tmp[2 * NAME_LENGTH], str[2 * NAME_LENGTH], uattr[2 * NAME_LENGTH], *ps, *pt, *p, result[10000]; pt = tmp; ps = string; for (p ...
140,350,953,110,033,980,000,000,000,000,000,000,000
None
null
[ "CWE-79" ]
CVE-2019-20376
A cross-site scripting (XSS) vulnerability in Electronic Logbook (ELOG) 3.1.4 allows remote attackers to inject arbitrary web script or HTML via a crafted SVG document to elogd.c.
https://nvd.nist.gov/vuln/detail/CVE-2019-20376
519,331
elog
993bed4923c88593cc6b1186e0d1b9564994a25a
https://bitbucket.org/ritt/elog
https://bitbucket.org/ritt/elog/commits/993bed4923c88593cc6b1186e0d1b9564994a25a
Serve SVG files as attachments only to avoid XSS vulnerabilities
0
BOOL equal_md5(unsigned char m1[16], unsigned char m2[16]) { int i; for (i = 0; i < 16; i++) if (m1[i] != m2[i]) break; return i == 16; }
43,227,294,047,752,780,000,000,000,000,000,000,000
None
null
[ "CWE-79" ]
CVE-2019-20376
A cross-site scripting (XSS) vulnerability in Electronic Logbook (ELOG) 3.1.4 allows remote attackers to inject arbitrary web script or HTML via a crafted SVG document to elogd.c.
https://nvd.nist.gov/vuln/detail/CVE-2019-20376
519,332
elog
993bed4923c88593cc6b1186e0d1b9564994a25a
https://bitbucket.org/ritt/elog
https://bitbucket.org/ritt/elog/commits/993bed4923c88593cc6b1186e0d1b9564994a25a
Serve SVG files as attachments only to avoid XSS vulnerabilities
0
int load_md5(LOGBOOK *lbs, char *server, MD5_INDEX **md5_index) { char str[256], url[256], file_name[256], *p; int i, j, x; FILE *f; *md5_index = NULL; combine_url(lbs, server, "", url, sizeof(url), NULL); url_decode(url); if (strstr(url, "http://")) strlcpy(str, url + 7, sizeof(str)); e...
158,064,177,550,706,760,000,000,000,000,000,000,000
None
null
[ "CWE-79" ]
CVE-2019-20376
A cross-site scripting (XSS) vulnerability in Electronic Logbook (ELOG) 3.1.4 allows remote attackers to inject arbitrary web script or HTML via a crafted SVG document to elogd.c.
https://nvd.nist.gov/vuln/detail/CVE-2019-20376
519,333
elog
993bed4923c88593cc6b1186e0d1b9564994a25a
https://bitbucket.org/ritt/elog
https://bitbucket.org/ritt/elog/commits/993bed4923c88593cc6b1186e0d1b9564994a25a
Serve SVG files as attachments only to avoid XSS vulnerabilities
0
void base64_decode(char *s, char *d) { unsigned int t; while (s && *s) { t = cind(*s) << 18; s++; t |= cind(*s) << 12; s++; t |= cind(*s) << 6; s++; t |= cind(*s) << 0; s++; *(d + 2) = (char) (t & 0xFF); t >>= 8; *(d + 1) = (char) (t & 0xFF); ...
31,067,171,630,724,600,000,000,000,000,000,000,000
None
null
[ "CWE-79" ]
CVE-2019-20376
A cross-site scripting (XSS) vulnerability in Electronic Logbook (ELOG) 3.1.4 allows remote attackers to inject arbitrary web script or HTML via a crafted SVG document to elogd.c.
https://nvd.nist.gov/vuln/detail/CVE-2019-20376
519,334
elog
993bed4923c88593cc6b1186e0d1b9564994a25a
https://bitbucket.org/ritt/elog
https://bitbucket.org/ritt/elog/commits/993bed4923c88593cc6b1186e0d1b9564994a25a
Serve SVG files as attachments only to avoid XSS vulnerabilities
0
void free_config() { int i, j; for (i = 0; i < n_lb_config; i++) { for (j = 0; j < lb_config[i].n_params; j++) { xfree(lb_config[i].config_param[j].param); xfree(lb_config[i].config_param[j].uparam); xfree(lb_config[i].config_param[j].value); } if (lb_config[i].config...
302,612,196,350,533,600,000,000,000,000,000,000,000
None
null
[ "CWE-79" ]
CVE-2019-20376
A cross-site scripting (XSS) vulnerability in Electronic Logbook (ELOG) 3.1.4 allows remote attackers to inject arbitrary web script or HTML via a crafted SVG document to elogd.c.
https://nvd.nist.gov/vuln/detail/CVE-2019-20376
519,335
elog
993bed4923c88593cc6b1186e0d1b9564994a25a
https://bitbucket.org/ritt/elog
https://bitbucket.org/ritt/elog/commits/993bed4923c88593cc6b1186e0d1b9564994a25a
Serve SVG files as attachments only to avoid XSS vulnerabilities
0
void show_new_user_page(LOGBOOK *lbs, char *user) { char str[256]; /*---- header ----*/ show_html_header(lbs, TRUE, loc("ELOG new user"), TRUE, FALSE, NULL, FALSE, 0); rsprintf("<body><center><br><br>\n"); show_top_text(lbs); rsprintf("<form name=\"form1\" id=\"form1\" method=\"GET\" action=\".\">\n...
216,829,841,324,536,480,000,000,000,000,000,000,000
None
null
[ "CWE-79" ]
CVE-2019-20376
A cross-site scripting (XSS) vulnerability in Electronic Logbook (ELOG) 3.1.4 allows remote attackers to inject arbitrary web script or HTML via a crafted SVG document to elogd.c.
https://nvd.nist.gov/vuln/detail/CVE-2019-20376
519,336
elog
993bed4923c88593cc6b1186e0d1b9564994a25a
https://bitbucket.org/ritt/elog
https://bitbucket.org/ritt/elog/commits/993bed4923c88593cc6b1186e0d1b9564994a25a
Serve SVG files as attachments only to avoid XSS vulnerabilities
0
void call_image_magick(LOGBOOK *lbs) { char str[1024], cmd[1024], file_name[256], thumb_name[256], subdir[256]; int cur_width, cur_height, new_size, cur_rot, new_rot, thumb_status; if (!isparam("req") || !isparam("img")) { show_error("Unknown IM request received"); return; } strlcpy(file_na...
256,248,024,514,882,640,000,000,000,000,000,000,000
None
null
[ "CWE-79" ]
CVE-2019-20376
A cross-site scripting (XSS) vulnerability in Electronic Logbook (ELOG) 3.1.4 allows remote attackers to inject arbitrary web script or HTML via a crafted SVG document to elogd.c.
https://nvd.nist.gov/vuln/detail/CVE-2019-20376
519,337
elog
993bed4923c88593cc6b1186e0d1b9564994a25a
https://bitbucket.org/ritt/elog
https://bitbucket.org/ritt/elog/commits/993bed4923c88593cc6b1186e0d1b9564994a25a
Serve SVG files as attachments only to avoid XSS vulnerabilities
0
int parse_file(LOGBOOK *lbs, char *file_name) { char str[256], date[256], *buffer, *p, *pn, in_reply_to[80]; int length, i, fh, len; fh = open(file_name, O_RDONLY | O_BINARY, 0644); if (fh < 0) { sprintf(str, "Cannot open file \"%s\"", file_name); eprintf("%s; %s\n", str, strerror(errno)); ...
258,131,210,668,693,170,000,000,000,000,000,000,000
None
null
[ "CWE-79" ]
CVE-2019-20376
A cross-site scripting (XSS) vulnerability in Electronic Logbook (ELOG) 3.1.4 allows remote attackers to inject arbitrary web script or HTML via a crafted SVG document to elogd.c.
https://nvd.nist.gov/vuln/detail/CVE-2019-20376
519,338
elog
993bed4923c88593cc6b1186e0d1b9564994a25a
https://bitbucket.org/ritt/elog
https://bitbucket.org/ritt/elog/commits/993bed4923c88593cc6b1186e0d1b9564994a25a
Serve SVG files as attachments only to avoid XSS vulnerabilities
0
void print_syslog(const char *msg) { char *p; /* strip trailing \r and \n */ p = xstrdup(msg); while (p[strlen(p) - 1] == '\r' || p[strlen(p) - 1] == '\n') p[strlen(p) - 1] = 0; #ifdef OS_UNIX syslog(SYSLOG_PRIORITY, "%s", p); #else ReportEvent(hEventLog, EVENTLOG_INFORMATION_TYPE, 0, 0, NULL,...
248,977,453,300,065,000,000,000,000,000,000,000,000
None
null
[ "CWE-79" ]
CVE-2019-20376
A cross-site scripting (XSS) vulnerability in Electronic Logbook (ELOG) 3.1.4 allows remote attackers to inject arbitrary web script or HTML via a crafted SVG document to elogd.c.
https://nvd.nist.gov/vuln/detail/CVE-2019-20376
519,339
elog
993bed4923c88593cc6b1186e0d1b9564994a25a
https://bitbucket.org/ritt/elog
https://bitbucket.org/ritt/elog/commits/993bed4923c88593cc6b1186e0d1b9564994a25a
Serve SVG files as attachments only to avoid XSS vulnerabilities
0
time_t search_last_reply(LOGBOOK *lbs, int *message_id) { char reply_to[MAX_REPLY_TO * 10], date[80]; int n_reply, i, id; char *list; time_t lt, last; list = (char *) xmalloc(MAX_REPLY_TO * NAME_LENGTH); el_retrieve(lbs, *message_id, date, NULL, NULL, 0, NULL, 0, NULL, reply_to, NULL, NULL, NULL, NU...
33,069,990,055,042,237,000,000,000,000,000,000,000
None
null
[ "CWE-79" ]
CVE-2019-20376
A cross-site scripting (XSS) vulnerability in Electronic Logbook (ELOG) 3.1.4 allows remote attackers to inject arbitrary web script or HTML via a crafted SVG document to elogd.c.
https://nvd.nist.gov/vuln/detail/CVE-2019-20376
519,340
elog
993bed4923c88593cc6b1186e0d1b9564994a25a
https://bitbucket.org/ritt/elog
https://bitbucket.org/ritt/elog/commits/993bed4923c88593cc6b1186e0d1b9564994a25a
Serve SVG files as attachments only to avoid XSS vulnerabilities
0
int find_thread_head(LOGBOOK *lbs, int message_id) { int i; /* search index of message */ for (i = 0; i < *lbs->n_el_index; i++) if (lbs->el_index[i].message_id == message_id) break; if (lbs->el_index[i].in_reply_to) return find_thread_head(lbs, lbs->el_index[i].in_reply_to); retu...
292,032,210,999,853,160,000,000,000,000,000,000,000
None
null
[ "CWE-79" ]
CVE-2019-20376
A cross-site scripting (XSS) vulnerability in Electronic Logbook (ELOG) 3.1.4 allows remote attackers to inject arbitrary web script or HTML via a crafted SVG document to elogd.c.
https://nvd.nist.gov/vuln/detail/CVE-2019-20376
519,341
elog
993bed4923c88593cc6b1186e0d1b9564994a25a
https://bitbucket.org/ritt/elog
https://bitbucket.org/ritt/elog/commits/993bed4923c88593cc6b1186e0d1b9564994a25a
Serve SVG files as attachments only to avoid XSS vulnerabilities
0
int el_retrieve_attachment(LOGBOOK *lbs, int message_id, int n, char name[MAX_PATH_LENGTH]) { int i, index, size, fh; char file_name[MAX_PATH_LENGTH * 3], *p; char message[TEXT_SIZE + 1000], attachment_all[64 * MAX_ATTACHMENTS]; if (message_id == 0) return EL_EMPTY; for (index = 0; index < *lbs->...
187,051,003,668,479,950,000,000,000,000,000,000,000
None
null
[ "CWE-79" ]
CVE-2019-20376
A cross-site scripting (XSS) vulnerability in Electronic Logbook (ELOG) 3.1.4 allows remote attackers to inject arbitrary web script or HTML via a crafted SVG document to elogd.c.
https://nvd.nist.gov/vuln/detail/CVE-2019-20376
519,342
elog
993bed4923c88593cc6b1186e0d1b9564994a25a
https://bitbucket.org/ritt/elog
https://bitbucket.org/ritt/elog/commits/993bed4923c88593cc6b1186e0d1b9564994a25a
Serve SVG files as attachments only to avoid XSS vulnerabilities
0
void compose_email_header(LOGBOOK *lbs, char *subject, char *from, char *to, char *url, char *mail_text, int size, int mail_encoding, int n_attachments, char *multipart_boundary, int message_id, int reply_id) { char buffer[256], charset[256], subject_enc[5000]; ...
290,756,431,693,798,220,000,000,000,000,000,000,000
None
null
[ "CWE-79" ]
CVE-2019-20376
A cross-site scripting (XSS) vulnerability in Electronic Logbook (ELOG) 3.1.4 allows remote attackers to inject arbitrary web script or HTML via a crafted SVG document to elogd.c.
https://nvd.nist.gov/vuln/detail/CVE-2019-20376
519,343
elog
993bed4923c88593cc6b1186e0d1b9564994a25a
https://bitbucket.org/ritt/elog
https://bitbucket.org/ritt/elog/commits/993bed4923c88593cc6b1186e0d1b9564994a25a
Serve SVG files as attachments only to avoid XSS vulnerabilities
0
void format_email_html2(LOGBOOK *lbs, int message_id, char att_file[MAX_ATTACHMENTS][256], int old_mail, char *multipart_boundary, char *mail_text, int size, int flags) { char str[256], charset[256], multipart_boundary_related[256], command[256], *p; int max_att_size; sprintf(str, "%d"...
150,465,935,670,175,260,000,000,000,000,000,000,000
None
null
[ "CWE-79" ]
CVE-2019-20376
A cross-site scripting (XSS) vulnerability in Electronic Logbook (ELOG) 3.1.4 allows remote attackers to inject arbitrary web script or HTML via a crafted SVG document to elogd.c.
https://nvd.nist.gov/vuln/detail/CVE-2019-20376
519,344
elog
993bed4923c88593cc6b1186e0d1b9564994a25a
https://bitbucket.org/ritt/elog
https://bitbucket.org/ritt/elog/commits/993bed4923c88593cc6b1186e0d1b9564994a25a
Serve SVG files as attachments only to avoid XSS vulnerabilities
0
BOOL get_author(LOGBOOK *lbs, char attrib[MAX_N_ATTR][NAME_LENGTH], char *author) { char str[NAME_LENGTH], preset[NAME_LENGTH]; int i; /* search attribute which contains full_name of author */ for (i = 0; i < lbs->n_attr; i++) { sprintf(str, "Preset %s", attr_list[i]); if (getcfg(lbs->name, str...
66,704,266,455,939,890,000,000,000,000,000,000,000
None
null
[ "CWE-79" ]
CVE-2019-20376
A cross-site scripting (XSS) vulnerability in Electronic Logbook (ELOG) 3.1.4 allows remote attackers to inject arbitrary web script or HTML via a crafted SVG document to elogd.c.
https://nvd.nist.gov/vuln/detail/CVE-2019-20376
519,345
elog
993bed4923c88593cc6b1186e0d1b9564994a25a
https://bitbucket.org/ritt/elog
https://bitbucket.org/ritt/elog/commits/993bed4923c88593cc6b1186e0d1b9564994a25a
Serve SVG files as attachments only to avoid XSS vulnerabilities
0
void retrieve_email_from(LOGBOOK *lbs, char *ret, char *ret_name, char attrib[MAX_N_ATTR][NAME_LENGTH]) { char email_from[256], email_from_name[256], str[256], *p, login_name[256], slist[MAX_N_ATTR + 10][NAME_LENGTH], svalue[MAX_N_ATTR + 10][NAME_LENGTH], full_name[256], user_email[256]; int...
171,303,017,090,801,250,000,000,000,000,000,000,000
None
null
[ "CWE-79" ]
CVE-2019-20376
A cross-site scripting (XSS) vulnerability in Electronic Logbook (ELOG) 3.1.4 allows remote attackers to inject arbitrary web script or HTML via a crafted SVG document to elogd.c.
https://nvd.nist.gov/vuln/detail/CVE-2019-20376
519,346
elog
993bed4923c88593cc6b1186e0d1b9564994a25a
https://bitbucket.org/ritt/elog
https://bitbucket.org/ritt/elog/commits/993bed4923c88593cc6b1186e0d1b9564994a25a
Serve SVG files as attachments only to avoid XSS vulnerabilities
0
int ssl_connect(int sock, SSL **ssl_con) { SSL_METHOD *meth; SSL_CTX *ctx; X509 *cert = NULL; int i; SSL_library_init(); SSL_load_error_strings(); meth = (SSL_METHOD *) TLSv1_2_method(); ctx = SSL_CTX_new(meth); *ssl_con = SSL_new(ctx); SSL_set_fd(*ssl_con, sock); if (SSL_connect(*ss...
110,334,556,459,415,470,000,000,000,000,000,000,000
None
null
[ "CWE-79" ]
CVE-2019-20376
A cross-site scripting (XSS) vulnerability in Electronic Logbook (ELOG) 3.1.4 allows remote attackers to inject arbitrary web script or HTML via a crafted SVG document to elogd.c.
https://nvd.nist.gov/vuln/detail/CVE-2019-20376
519,347
elog
993bed4923c88593cc6b1186e0d1b9564994a25a
https://bitbucket.org/ritt/elog
https://bitbucket.org/ritt/elog/commits/993bed4923c88593cc6b1186e0d1b9564994a25a
Serve SVG files as attachments only to avoid XSS vulnerabilities
0
int change_config_line(LOGBOOK *lbs, char *option, char *old_value, char *new_value) { int fh, i, j, n, length, bufsize; char str[NAME_LENGTH], *buf, *buf2, *p1, *p2, *p3; char list[MAX_N_LIST][NAME_LENGTH], line[NAME_LENGTH]; fh = open(config_file, O_RDWR | O_BINARY, 644); if (fh < 0) { sprintf(s...
184,244,468,613,099,200,000,000,000,000,000,000,000
None
null
[ "CWE-79" ]
CVE-2019-20376
A cross-site scripting (XSS) vulnerability in Electronic Logbook (ELOG) 3.1.4 allows remote attackers to inject arbitrary web script or HTML via a crafted SVG document to elogd.c.
https://nvd.nist.gov/vuln/detail/CVE-2019-20376
519,348
elog
993bed4923c88593cc6b1186e0d1b9564994a25a
https://bitbucket.org/ritt/elog
https://bitbucket.org/ritt/elog/commits/993bed4923c88593cc6b1186e0d1b9564994a25a
Serve SVG files as attachments only to avoid XSS vulnerabilities
0
int activate_user(LOGBOOK *lbs, char *user_name, int code) { int inactive, self_register; char str[256], str2[256], smtp_host[256], url[256], mail_text[2000], error[256], mail_from_name[256], mail_from[256], user_email[256], logbook[256]; if (lbs == NULL) strlcpy(logbook, "global", sizeof(log...
223,009,662,025,304,850,000,000,000,000,000,000,000
None
null
[ "CWE-79" ]
CVE-2019-20376
A cross-site scripting (XSS) vulnerability in Electronic Logbook (ELOG) 3.1.4 allows remote attackers to inject arbitrary web script or HTML via a crafted SVG document to elogd.c.
https://nvd.nist.gov/vuln/detail/CVE-2019-20376
519,349
elog
993bed4923c88593cc6b1186e0d1b9564994a25a
https://bitbucket.org/ritt/elog
https://bitbucket.org/ritt/elog/commits/993bed4923c88593cc6b1186e0d1b9564994a25a
Serve SVG files as attachments only to avoid XSS vulnerabilities
0
void print_stderr(const char *msg) { fprintf(stderr, "%s", msg); }
13,423,604,685,799,457,000,000,000,000,000,000,000
None
null
[ "CWE-79" ]
CVE-2019-20376
A cross-site scripting (XSS) vulnerability in Electronic Logbook (ELOG) 3.1.4 allows remote attackers to inject arbitrary web script or HTML via a crafted SVG document to elogd.c.
https://nvd.nist.gov/vuln/detail/CVE-2019-20376
519,350
elog
993bed4923c88593cc6b1186e0d1b9564994a25a
https://bitbucket.org/ritt/elog
https://bitbucket.org/ritt/elog/commits/993bed4923c88593cc6b1186e0d1b9564994a25a
Serve SVG files as attachments only to avoid XSS vulnerabilities
0
char *loc(char *orig) { int n; char language[256]; static char result[256]; if (!_locbuffer) return orig; /* search string and return translation */ for (n = 0; _porig[n]; n++) if (strcmp(orig, _porig[n]) == 0) { if (*_ptrans[n]) return _ptrans[n]; return or...
264,197,231,963,834,470,000,000,000,000,000,000,000
None
null
[ "CWE-79" ]
CVE-2019-20376
A cross-site scripting (XSS) vulnerability in Electronic Logbook (ELOG) 3.1.4 allows remote attackers to inject arbitrary web script or HTML via a crafted SVG document to elogd.c.
https://nvd.nist.gov/vuln/detail/CVE-2019-20376
519,351
elog
993bed4923c88593cc6b1186e0d1b9564994a25a
https://bitbucket.org/ritt/elog
https://bitbucket.org/ritt/elog/commits/993bed4923c88593cc6b1186e0d1b9564994a25a
Serve SVG files as attachments only to avoid XSS vulnerabilities
0
void show_page_filters(LOGBOOK *lbs, int n_msg, int page_n, BOOL mode_commands, char *mode) { int cur_exp, n, i, j, i1, i2, index, attr_index, size; char ref[256], str[NAME_LENGTH], comment[NAME_LENGTH], list[MAX_N_LIST][NAME_LENGTH], option[NAME_LENGTH], option_whole[NAME_LENGTH]; rsprintf("<tr><t...
10,428,710,744,187,538,000,000,000,000,000,000,000
None
null
[ "CWE-79" ]
CVE-2019-20376
A cross-site scripting (XSS) vulnerability in Electronic Logbook (ELOG) 3.1.4 allows remote attackers to inject arbitrary web script or HTML via a crafted SVG document to elogd.c.
https://nvd.nist.gov/vuln/detail/CVE-2019-20376
519,352
elog
993bed4923c88593cc6b1186e0d1b9564994a25a
https://bitbucket.org/ritt/elog
https://bitbucket.org/ritt/elog/commits/993bed4923c88593cc6b1186e0d1b9564994a25a
Serve SVG files as attachments only to avoid XSS vulnerabilities
0
BOOL is_cond_attr(int index) { int i; for (i = 0; i < MAX_N_LIST && attr_options[index][i][0]; i++) if (strchr(attr_options[index][i], '{') && strchr(attr_options[index][i], '}')) return TRUE; return FALSE; }
338,778,116,598,819,030,000,000,000,000,000,000,000
None
null
[ "CWE-79" ]
CVE-2019-20376
A cross-site scripting (XSS) vulnerability in Electronic Logbook (ELOG) 3.1.4 allows remote attackers to inject arbitrary web script or HTML via a crafted SVG document to elogd.c.
https://nvd.nist.gov/vuln/detail/CVE-2019-20376
519,353
elog
993bed4923c88593cc6b1186e0d1b9564994a25a
https://bitbucket.org/ritt/elog
https://bitbucket.org/ritt/elog/commits/993bed4923c88593cc6b1186e0d1b9564994a25a
Serve SVG files as attachments only to avoid XSS vulnerabilities
0
void show_html_header(LOGBOOK *lbs, BOOL expires, char *title, BOOL close_head, BOOL rss_feed, char *cookie, int embed_css, int refresh) { int i, n; char css[1000], css_base[1000], str[1000], media[1000], file_name[256]; char css_list[MAX_N_LIST][NAME_LENGTH]; show_http_header(lbs, ex...
321,811,362,636,401,400,000,000,000,000,000,000,000
None
null
[ "CWE-79" ]
CVE-2019-20376
A cross-site scripting (XSS) vulnerability in Electronic Logbook (ELOG) 3.1.4 allows remote attackers to inject arbitrary web script or HTML via a crafted SVG document to elogd.c.
https://nvd.nist.gov/vuln/detail/CVE-2019-20376
519,354
elog
993bed4923c88593cc6b1186e0d1b9564994a25a
https://bitbucket.org/ritt/elog
https://bitbucket.org/ritt/elog/commits/993bed4923c88593cc6b1186e0d1b9564994a25a
Serve SVG files as attachments only to avoid XSS vulnerabilities
0
void flush_return_buffer() { #ifdef HAVE_SSL send_with_timeout(_ssl_con, _sock, return_buffer, strlen_retbuf); #else send_with_timeout(NULL, _sock, return_buffer, strlen_retbuf); #endif memset(return_buffer, 0, return_buffer_size); strlen_retbuf = 0; }
113,316,099,091,655,260,000,000,000,000,000,000,000
None
null
[ "CWE-79" ]
CVE-2019-20376
A cross-site scripting (XSS) vulnerability in Electronic Logbook (ELOG) 3.1.4 allows remote attackers to inject arbitrary web script or HTML via a crafted SVG document to elogd.c.
https://nvd.nist.gov/vuln/detail/CVE-2019-20376