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,355 | 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 xfree(void *pointer) {
char *temp;
int old_size;
if (!pointer)
return;
/* check for magic byte */
temp = pointer;
assert(*((unsigned int *) (temp - 4)) == 0xdeadc0de);
old_size = *((unsigned int *) (temp - 8));
assert(*((unsigned int *) (temp + old_size)) == 0xdeadc0de);
free(te... | 145,851,681,159,375,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,356 | 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 sid_check(char *sid, char *user_name) {
int i;
time_t now;
if (sid == NULL)
return FALSE;
time(&now);
for (i = 0; i < _n_sid; i++) {
if (strcmp(_sid[i].host_ip, (char *) inet_ntoa(rem_addr)) == 0 && strcmp(_sid[i].session_id, sid) == 0) {
strcpy(user_name, _sid[i].user_name);
... | 26,060,545,739,178,330,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,357 | 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_top_text(LOGBOOK *lbs) {
char str[NAME_LENGTH];
int size;
if (getcfg(lbs->name, "top text", str, sizeof(str)) && str[0]) {
FILE *f;
char file_name[256], *buf;
/* check if file starts with an absolute directory */
if (str[0] == DIR_SEPARATOR || str[1] == ':')
strcpy(... | 271,811,817,575,437,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,358 | 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_edit_time(LOGBOOK *lbs, int message_id) {
char str[256];
int i;
if (is_admin_user(lbs, getparam("unm"))) {
if (getcfg(lbs->name, "Admin Restrict edit time", str, sizeof(str))) {
for (i = 0; i < *lbs->n_el_index; i++)
if (lbs->el_index[i].message_id == message_id)
... | 340,144,526,007,200,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,359 | 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 receive_message(LOGBOOK *lbs, char *url, int message_id, char *error_str, BOOL bnew) {
int i, status, size, n_attr, header_size, ssl;
char str[NAME_LENGTH], str2[NAME_LENGTH], *p, *p2, *message, date[80], attrib[MAX_N_ATTR][NAME_LENGTH],
in_reply_to[80], reply_to[MAX_REPLY_TO * 10], encoding[80], l... | 281,630,344,144,923,120,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,360 | 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 propagate_attrib(LOGBOOK *lbs, int message_id, char attrib[MAX_N_ATTR][NAME_LENGTH]) {
int n, i, j, status;
char str[NAME_LENGTH], att_file[MAX_ATTACHMENTS][256], *attr, *list, reply_to[MAX_REPLY_TO * 10];
list = (char *) xmalloc(MAX_N_ATTR * NAME_LENGTH);
attr = (char *) xmalloc(MAX_N_ATTR * NAME_LENG... | 285,111,815,327,288,300,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,361 | 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 int int_vasprintf(char **result, const char *format, va_list args) {
const char *p = format;
/* Add one to make sure that it is never zero, which might cause malloc
to return NULL. */
int total_width = strlen(format) + 1;
va_list ap;
#ifdef va_copy
va_copy(ap, args);
#else
memcpy(&ap, &... | 209,155,873,434,644,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,362 | 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 attrib_from_param(int n_attr, char attrib[MAX_N_ATTR][NAME_LENGTH]) {
int i, j, first, year, month, day, hour, min, sec;
char str[NAME_LENGTH], ua[NAME_LENGTH];
time_t ltime;
struct tm ts;
for (i = 0; i < n_attr; i++) {
strcpy(ua, attr_list[i]);
stou(ua);
if (attr_flags[i] & (AF_M... | 321,448,831,893,344,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,363 | 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 *xcalloc(size_t count, size_t bytes) {
char *temp;
/* Align buffer on 4 byte boundery for HP UX and other 64 bit systems to prevent Bus error (core dump) */
if (bytes & 3)
bytes += 4 - (bytes & 3);
temp = (char *) malloc(count * bytes + 12);
if (temp == 0)
memory_error_and_abort("xcall... | 6,810,088,557,653,280,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,364 | 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 vasprintf(char **result, const char *format, va_list args)
#endif
{
return int_vasprintf(result, format, args);
} | 140,081,000,575,330,140,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,365 | 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 seteuser(char *str) {
#ifdef OS_UNIX
struct passwd *pw;
pw = getpwnam(str);
if (pw != NULL) {
chown(logbook_dir, pw->pw_uid, -1);
if (setreuid(-1, pw->pw_uid) >= 0) {
return 0;
} else {
eprintf("Cannot set effective UID to user \"%s\"\n", str);
eprintf("setuse... | 145,191,127,567,087,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,366 | 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_import_page_xml(LOGBOOK *lbs) {
/*---- header ----*/
show_html_header(lbs, FALSE, loc("ELOG XML import"), TRUE, FALSE, NULL, FALSE, 0);
rsprintf("<body><form method=\"POST\" action=\"./\" enctype=\"multipart/form-data\">\n");
/*---- title ----*/
show_standard_title(lbs, "", 0);
/*---- m... | 172,320,521,404,062,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,367 | 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 *stristr(const char *str, const char *pattern) {
size_t i;
if (!*pattern)
return (char *) str;
for (; *str; str++) {
if (toupper(*str) == toupper(*pattern)) {
for (i = 1;; i++) {
if (!pattern[i])
return (char *) str;
if (toupper(str[i]) != toup... | 277,713,632,624,462,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,368 | 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_logbook_hierarchy(LBLIST root) {
int i;
for (i = 0; i < root->n_members; i++) {
if (root->member[i]) {
free_logbook_hierarchy(root->member[i]);
root->member[i] = NULL;
}
}
xfree(root->member);
xfree(root);
} | 336,337,027,744,535,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,369 | 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(char *message, char *key, char *result, int size) {
char *pc, *ph;
int i;
if (result == NULL)
return;
*result = 0;
ph = strstr(message, "========================================");
if (ph == NULL)
return;
do {
if (ph[40] == '\r' || ph[40] == '\n')
break... | 45,362,294,578,883,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,370 | 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_draft_message(LOGBOOK *lbs, int message_id, char *user, BOOL bdraft)
/* lock message for editing */
{
int size;
char date[80], attrib[MAX_N_ATTR][NAME_LENGTH], text[TEXT_SIZE], in_reply_to[80],
reply_to[MAX_REPLY_TO * 10], encoding[80], locked_by[256], draft[256];
char att_file[MAX_ATTACHMENT... | 321,007,888,100,454,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,371 | 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_logbook_rename(LOGBOOK *lbs) {
int i;
char str[256], lbn[256];
if (isparam("lbname")) {
/* check if logbook name exists already */
strcpy(lbn, getparam("lbname"));
for (i = 0; lb_list[i].name[0]; i++)
if (strieq(lbn, lb_list[i].name)) {
sprintf(str, loc("Logbo... | 33,296,565,356,696,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,372 | 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(LOGBOOK *lbs, int message_id, char *date, char attr_list[MAX_N_ATTR][NAME_LENGTH],
char attrib[MAX_N_ATTR][NAME_LENGTH], int n_attr, char *text, int *textsize,
char *in_reply_to, char *reply_to, char attachment[MAX_ATTACHMENTS][MAX_PATH_LENGTH],
char *enco... | 69,228,604,608,727,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,373 | 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_html(LOGBOOK *lbs, int message_id, char attrib[MAX_N_ATTR][NAME_LENGTH],
char att_file[MAX_ATTACHMENTS][256], int old_mail, char *encoding, char *url,
char *multipart_boundary, char *mail_text, int size) {
int i, j, k, flags, n_email_attr, attr_index[MA... | 40,079,491,276,945,840,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,374 | 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 remove_reference(LOGBOOK *lbs, int message_id, int remove_id, BOOL reply_to_flag) {
char date[80], attr[MAX_N_ATTR][NAME_LENGTH], enc[80], in_reply_to[80], reply_to[MAX_REPLY_TO * 10],
att[MAX_ATTACHMENTS][256], lock[256], draft[256], *p, *ps, *message;
int size, status;
/* retrieve original m... | 208,571,682,154,460,660,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,375 | 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 save_admin_config(char *section, char *buffer, char *error) {
int fh, i, length;
char *buf, *buf2, *p1, *p2;
error[0] = 0;
fh = open(config_file, O_RDWR | O_BINARY, 644);
if (fh < 0) {
sprintf(error, loc("Cannot open file <b>%s</b>"), config_file);
strcat(error, ": ");
strcat(erro... | 201,251,575,795,903,300,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,376 | 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 redirect_to_stderr(void) {
printf_handler = print_stderr;
fputs_handler = fputs_stderr;
current_output_stream = stderr;
} | 326,021,198,179,170,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,377 | 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_select_navigation(LOGBOOK *lbs) {
int i, n_log;
char str[NAME_LENGTH];
char lbk_list[MAX_N_LIST][NAME_LENGTH];
rsprintf("<tr><td class=\"menuframe\"><span class=\"menu4\">\n");
rsprintf("<script language=\"JavaScript\" type=\"text/javascript\">\n");
rsprintf("<!--\n");
rsprintf("functio... | 301,611,476,314,405,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,378 | 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 param_compare(const void *p1, const void *p2) {
return stricmp(((CONFIG_PARAM *) p1)->uparam, ((CONFIG_PARAM *) p2)->uparam);
} | 313,048,967,849,767,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,379 | 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_encode(unsigned char *s, unsigned char *d, int size) {
unsigned int t, pad;
unsigned char *p;
pad = 3 - strlen((char *) s) % 3;
if (pad == 3)
pad = 0;
p = d;
while (*s) {
t = (*s++) << 16;
if (*s)
t |= (*s++) << 8;
if (*s)
t |= (*s++) << 0;
... | 179,563,028,182,428,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,380 | 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 *month_name(int m)
/* return name of month in current locale, m=0..11 */
{
struct tm ts;
static char name[32];
memset(&ts, 0, sizeof(ts));
ts.tm_mon = m;
ts.tm_mday = 15;
ts.tm_year = 2000;
mktime(&ts);
strftime(name, sizeof(name), "%B", &ts);
return name;
} | 177,680,120,648,311,830,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,381 | 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_search_message(LOGBOOK *lbs, int mode, int message_id, BOOL head_only)
/********************************************************************
Routine: el_search_message
Purpose: Search for a specific message in a logbook
Input:
int mode Search mode, EL_FIRST, EL_LAST, EL_NEXT, EL_PREV
int ... | 310,411,423,916,488,270,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,382 | 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_checksum(const void *pdata, unsigned int len, unsigned char digest[16]) {
MD5_CONTEXT ctx;
unsigned char bits[8];
unsigned int i, padlen;
/* to allow multithreading we have to locate the padding memory here */
unsigned char PADDING[64] = {0x80, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,... | 7,710,470,324,966,871,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,383 | 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 *find_section(const char *buf, const char *name) {
const char *pstart;
char *pstr, str[80];
do {
if (*buf == '[') {
pstart = buf;
buf++;
pstr = str;
while (*buf && *buf != ']' && *buf != '\n' && *buf != '\r')
*pstr++ = *buf++;
*pstr = 0... | 168,772,193,984,613,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,384 | 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 send_with_timeout(void *p, int sock, char *buf, int buf_size) {
int status, sent, send_size, send_packet;
time_t start, now;
char *pbuf;
#ifdef HAVE_SSL
SSL *ssl;
#endif
time(&start);
sent = 0;
send_size = buf_size;
pbuf = p; // fix compiler warning
pbuf = buf;
do {
if (send_si... | 173,391,320,582,473,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,385 | 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 sid_remove(char *sid) {
int i;
if (sid == NULL)
return FALSE;
for (i = 0; i < _n_sid; i++) {
if (strcmp(_sid[i].session_id, sid) == 0) {
memset(&_sid[i], 0, sizeof(SESSION_ID));
return TRUE;
}
}
return FALSE;
} | 103,754,009,499,966,210,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,386 | 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_shell(char *cmd, char *result, int size) {
#ifdef OS_WINNT
HANDLE hChildStdinRd, hChildStdinWr, hChildStdinWrDup,
hChildStdoutRd, hChildStdoutWr, hChildStderrRd, hChildStderrWr, hSav... | 9,523,617,579,578,243,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,387 | 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_smtp_error(char *str, int expected, char *error, int error_size) {
if (atoi(str) != expected) {
if (error)
strlcpy(error, str + 4, error_size);
return 0;
}
return 1;
} | 205,929,511,917,826,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,388 | 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_config_page(LOGBOOK *lbs) {
char str[256], user[80], password[80], full_name[256], user_email[256], logbook[256], auth[32], **user_list;
int i, j, n, cols, inactive;
BOOL email_notify[1000], sort_email;
if (lbs)
strcpy(logbook, lbs->name);
else
strcpy(logbook, "global");
/* get... | 134,822,225,201,208,820,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,389 | 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 retrieve_date(char *index, BOOL bstart) {
int year, month, day, hour, min, sec, current_year, current_month;
char pm[10], py[10], pd[10], ph[10], pn[10], ps[10], str[NAME_LENGTH], str2[NAME_LENGTH];
struct tm tms;
time_t ltime;
sprintf(pm, "m%s", index);
sprintf(py, "y%s", index);
sprintf(p... | 2,096,669,041,920,201,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,390 | 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 rsputs3(const char *text) {
int i;
char str[2];
str[1] = 0;
for (i = 0; i < (int) strlen(text); i++) {
switch (text[i]) {
case '<':
rsputs("<");
break;
case '>':
rsputs(">");
break;
case '&':
rsputs("&am... | 228,324,257,833,600,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,391 | 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_elog_reply(LOGBOOK *lbs, int message_id, char attrib[MAX_N_ATTR][NAME_LENGTH], char *text) {
int n_reply, i, status;
char str1[80], str2[80], att_file[MAX_ATTACHMENTS][256], reply_to[MAX_REPLY_TO * 10],
list[MAX_N_ATTR][NAME_LENGTH];
status = el_retrieve(lbs, message_id, NULL, attr_list,... | 194,633,777,392,264,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,392 | 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_subst_list(char list[][NAME_LENGTH], char value[][NAME_LENGTH], char *item, char *str, int *i) {
strlcpy(list[*i], item, NAME_LENGTH);
strlcpy(value[(*i)++], str, NAME_LENGTH);
} | 210,825,363,917,948,620,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,393 | 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 remove_crlf(char *buffer) {
char *p;
/* convert \r\n -> \n */
p = buffer;
while ((p = strstr(p, "\r\n")) != NULL) {
memmove(p, p + 1, strlen(p + 1) + 1);
}
} | 238,379,841,650,068,620,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,394 | 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(LOGBOOK *lbs, int message_id, BOOL bedit, char *date, char attr_name[MAX_N_ATTR][NAME_LENGTH],
char attr_value[MAX_N_ATTR][NAME_LENGTH], int n_attr, char *text, char *in_reply_to,
char *reply_to, char *encoding, char afilename[MAX_ATTACHMENTS][256], BOOL mark_original,
... | 225,990,792,492,080,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,395 | 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 sid_new(LOGBOOK *lbs, const char *user, const char *host, char *sid) {
double exp;
time_t now;
int i, new_i;
char str[256];
time(&now);
new_i = 0;
if (_sid == NULL) {
_sid = (SESSION_ID *) malloc(sizeof(SESSION_ID));
_n_sid = 1;
new_i = 0;
} else {
exp = 24;
... | 320,585,108,661,339,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,396 | 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 msg_compare_reverse_numeric(const void *m1, const void *m2) {
return ((MSG_LIST *) m2)->number - ((MSG_LIST *) m1)->number;
} | 292,281,525,864,915,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,397 | 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_index_logbooks() {
char str[256], data_dir[256], logbook[256], cwd[256], *p;
int i, j, n, status = 0;
if (lb_list) {
for (i = 0; lb_list[i].name[0]; i++) {
if (lb_list[i].el_index != NULL) {
xfree(lb_list[i].el_index);
xfree(lb_list[i].n_el_index);
/*... | 117,474,975,799,420,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,398 | 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 eli_compare(const void *e1, const void *e2) {
if (((EL_INDEX *) e1)->file_time < ((EL_INDEX *) e2)->file_time)
return -1;
if (((EL_INDEX *) e1)->file_time >= ((EL_INDEX *) e2)->file_time)
return 1;
return 0;
} | 100,004,779,669,930,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,399 | 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 rename_logbook(LOGBOOK *lbs, char *new_name) {
int fh, i, length, bufsize;
char *buf, *buf2, *p1, *p2;
char str[256], lb_dir[256], old_dir[256], new_dir[256];
fh = open(config_file, O_RDWR | O_BINARY, 644);
if (fh < 0) {
sprintf(str, loc("Cannot open file <b>%s</b>"), config_file);
strca... | 215,472,443,039,472,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,400 | 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_condition(char *c) {
strlcpy(_condition, c, sizeof(_condition));
} | 201,437,256,698,744,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,401 | 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 *xrealloc(void *pointer, size_t bytes) {
char *temp;
int old_size;
/* Align buffer on 4 byte boundery for HP UX and other 64 bit systems to prevent Bus error (core dump) */
if (bytes & 3)
bytes += 4 - (bytes & 3);
if (pointer == NULL)
return xmalloc(bytes);
/* check old magic numbe... | 214,130,955,933,865,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,402 | 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 check_config() {
check_config_file(FALSE);
check_language();
} | 318,905,994,695,364,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,403 | 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_dir_tree(LOGBOOK *lbs, const char *dir, char **file_list, int *n) {
int index, n_files;
char str[MAX_PATH_LENGTH];
char *fl, *p;
fl = NULL;
n_files = ss_file_find(dir, "*", &fl);
if (n_files == 0) {
if (fl)
xfree(fl);
return 0;
}
if (*file_list == NULL)
*fil... | 321,197,741,004,996,740,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,404 | 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 redirect(LOGBOOK *lbs, char *rel_path) {
/* redirect */
rsprintf("HTTP/1.1 302 Found\r\n");
rsprintf("Server: ELOG HTTP %s-%s\r\n", VERSION, git_revision());
if (keep_alive) {
rsprintf("Connection: Keep-Alive\r\n");
rsprintf("Keep-Alive: timeout=60, max=10\r\n");
}
set_location(lbs, ... | 328,362,648,406,170,940,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,405 | 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 strnieq(const char *str1, const char *str2, int n) {
char c1, c2;
int i;
if (str1 == NULL && str2 == NULL && n == 0)
return TRUE;
if (str1 == NULL || str2 == NULL)
return FALSE;
if ((int) strlen(str1) < n || (int) strlen(str2) < n)
return FALSE;
for (i = 0; i < n && *str1; i++... | 315,854,979,310,260,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,406 | 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 fputs_syslog(const char *buf) {
char *p;
/* strip trailing \r and \n */
p = xstrdup(buf);
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,... | 113,445,394,559,908,410,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,407 | 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 *find_next_section(const char *buf) {
do {
if (*buf == '[')
return buf;
if (buf)
buf = strchr(buf, '\n');
if (buf)
buf++;
} while (buf);
return NULL;
} | 142,040,174,318,115,730,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,408 | 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 display_reply(LOGBOOK *lbs, int message_id, int printable, int expand, int n_line, int n_attr_disp,
char disp_attr[MAX_N_ATTR + 4][NAME_LENGTH], BOOL show_text, int level, int highlight,
regex_t *re_buf, int highlight_mid, int absolute_link) {
char *date, *text, *in_reply_t... | 295,957,400,314,160,120,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,409 | 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 remove_user(LOGBOOK *lbs, char *user) {
char file_name[256], str[1000], str2[1000];
PMXML_NODE node;
if (lbs->pwd_xml_tree == NULL) {
show_error("No password file loaded");
return FALSE;
}
sprintf(str, "/list/user[name=%s]", user);
node = mxml_find_node(lbs->pwd_xml_tree, str);
if... | 279,934,970,124,974,570,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,410 | 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 mprint(LOGBOOK *lbs, int mode, char *str) {
char line[1000];
if (mode == SYNC_HTML)
rsprintf("%s\n", str);
else if (mode == SYNC_CRON) {
if (_logging_level > 1) {
sprintf(line, "MIRROR: %s", str);
write_logfile(lbs, line);
}
} else
eputs(str);
} | 69,512,329,837,129,120,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,411 | 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 match_param(char *str, char *param, int conditional_only) {
int ncl, npl, nand, i, j, k;
char *p, pcond[256], clist[10][NAME_LENGTH], plist[10][NAME_LENGTH], alist[10][NAME_LENGTH];
if (conditional_only && str[0] != '{')
return FALSE;
if (!_condition[0] || str[0] != '{')
return (stricmp(s... | 210,059,857,477,564,730,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,412 | 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 enumcfg(char *group, char *param, int psize, char *value, int vsize, int index) {
int i;
for (i = 0; i < n_lb_config; i++)
if (strieq(group, lb_config[i].section_name)) {
if (index < lb_config[i].n_params) {
strlcpy(param, lb_config[i].config_param[index].param, psize);
... | 182,550,734,891,006,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,413 | 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 copy_to(LOGBOOK *lbs, int src_id, char *dest_logbook, int move, int orig_id) {
int size, i, j, n, n_done, n_done_reply, n_reply, index, status, fh, source_id, message_id,
thumb_status, next_id = 0;
char str[256], str2[256], file_name[MAX_PATH_LENGTH], thumb_name[MAX_PATH_LENGTH],
*attri... | 2,912,446,193,366,270,500,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,414 | 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 set_attributes(LOGBOOK *lbs, char attributes[][NAME_LENGTH], int n) {
int fh, i, length, size;
char str[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>"), config_file);
strcat(str, ": ");
... | 169,712,136,465,060,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,415 | 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 unsetparam(char *param) {
int i;
for (i = 0; i < MAX_PARAM; i++)
if (strieq(param, _param[i]))
break;
if (i < MAX_PARAM) {
for (; i < MAX_PARAM - 1; i++) {
strlcpy(_param[i], _param[i + 1], NAME_LENGTH);
strlcpy(_value[i], _value[i + 1], NAME_LENGTH);
}
... | 189,267,620,140,802,300,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,416 | 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_time_selector(int hour, int min, int sec, char *index) {
int i;
rsprintf("<select name=\"h%s\">\n", index);
if (isparam("nsel"))
rsprintf("<option value=\"<keep>\">- %s -\n", loc("keep original values"));
else
rsprintf("<option value=\"\">\n");
for (i = 0; i < 24; i++)
if (i... | 335,727,824,150,412,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,417 | 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 setgroup(char *str) {
#ifdef OS_UNIX
struct group *gr;
gr = getgrnam(str);
if (gr != NULL)
if (setgid(gr->gr_gid) >= 0 && initgroups(gr->gr_name, gr->gr_gid) >= 0)
return 0;
else {
eprintf("Cannot set effective GID to group \"%s\"\n", gr->gr_name);
eprintf("setgroup... | 31,629,566,860,922,337,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,418 | 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(LOGBOOK *lbs, int old_id, int new_id) {
int status, size;
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], att_file[MAX_ATTACHMENTS][256];
/* retrieve message */
text = xmalloc(TEXT_... | 241,147,195,789,541,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,419 | 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_build_index(LOGBOOK *lbs, BOOL rebuild)
/* scan all ??????a.log files and build an index table in eli[] */
{
char *file_list, error_str[256], base_dir[256], *buffer;
int index, n;
int i, status;
unsigned char digest[16];
if (rebuild) {
xfree(lbs->el_index);
xfree(lbs->n_el_index);
... | 44,630,691,226,256,730,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,420 | 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 convert_datetime(char *date_string) {
/* convert date string in MM/DD/YY h:m:s AM/PM or DD.MM.YY hh:m:s format into Unix time */
int year, month, day, hour, min = 0, sec = 0;
char *p, str[256];
struct tm tms;
time_t ltime;
strlcpy(str, date_string, sizeof(str));
month = day = year = 0;
... | 223,550,675,098,237,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,421 | 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_encode(unsigned char *pout, unsigned int *pin, unsigned int len) {
unsigned int i, j;
for (i = 0, j = 0; j < len; i++, j += 4) {
pout[j] = (unsigned char) (pin[i] & 0x0ff);
pout[j + 1] = (unsigned char) ((pin[i] >> 8) & 0x0ff);
pout[j + 2] = (unsigned char) ((pin[i] >> 16) & 0x0ff);
... | 139,344,150,731,223,140,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,422 | 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_logbook_delete(LOGBOOK *lbs) {
char str[256];
/* redirect if confirm = NO */
if (isparam("confirm") && strcmp(getparam("confirm"), loc("No")) == 0) {
redirect(lbs, "?cmd=Config");
return;
}
if (isparam("confirm")) {
if (strcmp(getparam("confirm"), loc("Yes")) == 0) {
... | 77,342,917,279,223,750,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,423 | 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 evaluate_conditions(LOGBOOK *lbs, char attrib[MAX_N_ATTR][NAME_LENGTH]) {
char condition[256], str[256];
int index, i;
condition[0] = 0;
set_condition("");
for (index = 0; index < lbs->n_attr; index++) {
for (i = 0; i < MAX_N_LIST && attr_options[index][i][0]; i++) {
if (strchr(attr... | 97,568,822,339,408,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,424 | 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_auto_index(LOGBOOK *lbs, int index, char *format, char *retstr, int size)
/* return value of specific attribute of last entry, can be used to
auto-increment tags */
{
int i, message_id, loc, len, old_index;
char *p, attrib[MAX_N_ATTR][NAME_LENGTH], att[MAX_ATTACHMENTS][256], draft[256];
time_t now;
... | 186,434,218,824,473,570,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,425 | 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 fnmatch1(const char *pattern, const char *string) {
char c, test;
for (;;)
switch (c = *pattern++) {
case EOS:
return (*string == EOS ? 0 : 1);
case '?':
if (*string == EOS)
return (1);
++string;
break;
case '*':
... | 85,535,053,191,179,570,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,426 | 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_logbook_in_group(LBLIST pgrp, char *logbook)
/* test if "logbook" is in group node plb */
{
int i;
if (strieq(logbook, pgrp->name))
return TRUE;
for (i = 0; i < pgrp->n_members; i++) {
if (strieq(logbook, pgrp->member[i]->name))
return TRUE;
if (pgrp->member[i]->n_members ... | 219,076,506,429,658,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,427 | 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 | double date2serialdate(int day, int month, int year)
/* convert date to days since 1.1.1900 */
{
int serialdate;
serialdate = (int) ((1461 * (year + 4800 + (int) ((month - 14) / 12))) / 4) + (int) ((367 * (month - 2
-... | 33,330,591,638,619,907,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,428 | 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 save_md5(LOGBOOK *lbs, char *server, MD5_INDEX *md5_index, int n) {
char str[256], url[256], file_name[256];
int i, j;
FILE *f;
combine_url(lbs, server, "", url, sizeof(url), NULL);
url_decode(url);
if (strstr(url, "http://"))
strlcpy(str, url + 7, sizeof(str));
else if (strstr(url, "htt... | 193,593,031,507,249,300,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,429 | 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 msg_compare_reverse(const void *m1, const void *m2) {
return strcoll(((MSG_LIST *) m2)->string, ((MSG_LIST *) m1)->string);
} | 179,463,465,844,918,300,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,430 | 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 do_crypt(const char *s, char *d, int size) {
strlcpy(d, sha256_crypt(s, "$5$") + 4, size);
} | 55,924,815,555,328,710,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,431 | 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 setuser(char *str) {
#ifdef OS_UNIX
struct passwd *pw;
pw = getpwnam(str);
if (pw != NULL)
if (setuid(pw->pw_uid) >= 0)
return 0;
else {
eprintf("Cannot set effective UID to user \"%s\"\n", str);
eprintf("setuser: %s\n", strerror(errno));
}
else
eprin... | 206,437,156,713,311,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,432 | 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_text(LOGBOOK *lbs, char attrib[MAX_N_ATTR][NAME_LENGTH],
char att_file[MAX_ATTACHMENTS][256], int old_mail, char *url, char *multipart_boundary,
char *mail_text, int size) {
int i, j, k, flags, n_email_attr, attr_index[MAX_N_ATTR];
char str[NAME_LENG... | 168,688,003,508,452,740,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,433 | 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 redirect_to_syslog(void) {
static int has_inited = 0;
/* initiate syslog */
if (!has_inited) {
#ifdef OS_UNIX
setlogmask(LOG_UPTO(SYSLOG_PRIORITY));
openlog("elogd", LOG_CONS | LOG_PID | LOG_NDELAY, LOG_LOCAL1);
#else
hEventLog = RegisterEventSource(NULL, "ELOG");
#endif
}
has_ini... | 265,918,683,255,079,630,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,434 | 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 rsprintf(const char *format, ...) {
va_list argptr;
char str[10000];
va_start(argptr, format);
vsprintf(str, (char *) format, argptr);
va_end(argptr);
if (strlen_retbuf + (int) strlen(str) + 1 >= return_buffer_size) {
return_buffer = xrealloc(return_buffer, return_buffer_size + 100000);
... | 209,410,322,429,944,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,435 | 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_rss_feed(LOGBOOK *lbs) {
int i, n, size, index, message_id, offset;
char str[256], charset[256], url[256], attrib[MAX_N_ATTR][NAME_LENGTH], date[80], *text, title[2000],
slist[MAX_N_ATTR + 10][NAME_LENGTH], svalue[MAX_N_ATTR + 10][NAME_LENGTH], draft[1000];
time_t ltime;
struct tm *ts;
... | 136,653,639,242,956,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,436 | 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_standard_header(LOGBOOK *lbs, BOOL expires, char *title, char *path, BOOL rss_feed, char *cookie,
char *script, int refresh) {
if (script) {
show_html_header(lbs, expires, title, FALSE, rss_feed, cookie, FALSE, refresh);
rsprintf("<script type=\"text/javascript\">\n")... | 88,774,232,394,654,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,437 | 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_drafts(LOGBOOK *lbs) {
time_t now;
char str[1000], draft[256], title[256], datetime[256], attrib[MAX_N_ATTR][NAME_LENGTH];
int i, n_draft, *draft_id = NULL;
/* if we got here already and user clicked "Create new entry", ignore is set and we skip this */
if (isparam("ignore"))
return 0;
... | 276,945,007,828,903,340,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,438 | 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_author(LOGBOOK *lbs, char attrib[MAX_N_ATTR][NAME_LENGTH], char *owner) {
char str[NAME_LENGTH], preset[NAME_LENGTH], full_name[NAME_LENGTH];
int i;
/* check if current user is admin */
if (is_admin_user(lbs, getparam("unm")))
return TRUE;
/* search attribute which contains short_name of ... | 130,650,446,910,389,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,439 | 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 stou(char *str)
/* convert all special characters to underscores in a string */
{
int i;
for (i = 0; i < (int) strlen(str); i++)
if (!isalnum(str[i]))
str[i] = '_';
} | 312,247,433,225,328,930,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,440 | 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 strieq(const char *str1, const char *str2) {
char c1, c2;
if (str1 == NULL && str2 == NULL)
return TRUE;
if (str1 == NULL || str2 == NULL)
return FALSE;
if (strlen(str1) != strlen(str2))
return FALSE;
while (*str1) {
c1 = *str1++;
c2 = *str2++;
if (my_toupper(c1... | 66,167,323,335,230,010,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,441 | 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 convert_date(char *date_string) {
/* convert date string in MM/DD/YY or DD.MM.YY format into Unix time */
int year, month, day;
char *p, str[256];
struct tm tms;
time_t ltime;
strlcpy(str, date_string, sizeof(str));
month = day = year = 0;
if (strchr(str, '[')) {
ltime = atoi(strc... | 208,897,279,379,858,880,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,442 | 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_verbose(int v) {
_verbose_level = v;
} | 69,535,318,646,730,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,443 | 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 *xstrdup(const char *string) {
char *s;
s = (char *) xmalloc(strlen(string) + 1);
strcpy(s, string);
return s;
} | 272,960,073,098,231,270,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,444 | 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_find_form(LOGBOOK *lbs) {
int i, j, year, month, day, flag;
char str[NAME_LENGTH], mode[NAME_LENGTH], comment[NAME_LENGTH], option[NAME_LENGTH], login_name[256],
full_name[256], user_email[256], enc_attr[NAME_LENGTH], whole_attr[NAME_LENGTH],
attrib[MAX_N_ATTR][NAME_LENGTH];
/*... | 148,533,389,064,054,550,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,445 | 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 synchronize_logbook(LOGBOOK *lbs, int mode, BOOL sync_all) {
int index, i, j, i_msg, i_remote, i_cache, n_remote, n_cache, nserver, remote_id, exist_remote,
exist_cache, message_id, max_id, ssl;
int all_identical, n_delete;
char str[2000], url[256], loc_ref[256], rem_ref[256], pwd[256], locked_... | 85,907,488,693,475,210,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,446 | 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 void memory_error_and_abort(char *func) {
eprintf("%s: not enough memory\n", func);
exit(EXIT_FAILURE);
} | 252,108,403,003,573,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,447 | 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 url_encode(char *ps, int size)
/********************************************************************\
Encode the given string in-place by adding %XX escapes
\********************************************************************/
{
unsigned char *pd, *p;
unsigned char str[NAME_LENGTH];
pd = str;
p = (u... | 283,988,814,613,643,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,448 | 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 change_logbook_in_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))
... | 128,814,263,948,213,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,449 | 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_browser(char *br) {
if (stristr(br, "opera"))
rsprintf("var browser = \"Opera\";\n");
else if (stristr(br, "konqueror"))
rsprintf("var browser = \"Konqueror\";\n");
else if (stristr(br, "Safari"))
rsprintf("var browser = \"Safari\";\n");
else if (stristr(br, "MSIE"))
rsprin... | 290,377,866,849,957,340,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,450 | 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_date_selector(int day, int month, int year, char *index) {
int i;
rsprintf("<select name=\"m%s\">\n", index);
if (isparam("nsel"))
rsprintf("<option value=\"<keep>\">- %s -\n", loc("keep original values"));
else
rsprintf("<option value=\"\">\n");
for (i = 0; i < 12; i++)
if ... | 234,221,682,177,396,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,451 | 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 load_config_section(char *section, char **buffer, char *error) {
int fh, length;
char *p;
error[0] = 0;
*buffer = NULL;
fh = open(config_file, O_RDONLY | O_BINARY);
if (fh < 0) {
sprintf(error, "Cannot read configuration file \"%s\": %s", config_file, strerror(errno));
return;
}
... | 36,296,787,831,397,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,452 | 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 initparam() {
memset(_param, 0, sizeof(_param));
memset(_value, 0, sizeof(_value));
_mtext[0] = 0;
_cmdline[0] = 0;
} | 95,478,147,214,146,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,453 | 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_query(LOGBOOK *lbs, char *title, char *query_string, char *button1, char *button1_url,
char *button2, char *button2_url) {
show_standard_header(lbs, TRUE, "ELog query", title, FALSE, NULL, NULL, 0);
rsprintf("<table class=\"dlgframe\" cellspacing=0 align=center>");
rsprintf("<tr><td... | 157,177,439,308,873,120,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,454 | 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 save_user_config(LOGBOOK *lbs, char *user, BOOL new_user) {
char file_name[256], str[1000], *pl, user_enc[256], new_pwd[80], new_pwd2[80], smtp_host[256],
email_addr[256], mail_from[256], mail_from_name[256], subject[256], mail_text[2000], str2[256],
admin_user[80], url[256], error[2000], s... | 281,127,315,212,522,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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.