index,vul_code,is_vulnerable,programming_language,method_name,file_name,repo_url,repo_owner,committer,committer_date,commit_msg,cwe_id,cwe_name,cwe_description,cwe_url,cve_id,patch 0,"function block_email_request($email) { if ( $this->is_blocked($email) ) return false; $subject = __('E-mail block confirmation', 'subscribe-to-comments'); $message = sprintf(__(""You are receiving this message to confirm that you no longer wish to receive e-mail comment notifications from \""%s\""\n\n"", 'subscribe-to-comments'), get_bloginfo('name')); $message .= __(""To cancel all future notifications for this address, click this link:\n\n"", 'subscribe-to-comments'); $message .= get_bloginfo('wpurl') . ""/wp-subscription-manager.php?email="" . $email . ""&key="" . $this->generate_key($email . 'blockrequest') . ""&blockemailconfirm=true"" . "".\n\n""; $message .= __(""If you did not request this action, please disregard this message."", 'subscribe-to-comments'); return $this->send_mail($email, $subject, $message); }",True,PHP,block_email_request,subscribe-to-comments.php,https://github.com/wp-plugins/subscribe-to-comments,wp-plugins,markjaquith,2006-09-17 06:38:32+00:00,"version 2.0.8, XSS fix thanks to MustLive, more fixes for addresses with + symbols git-svn-id: https://plugins.svn.wordpress.org/subscribe-to-comments/trunk@6401 b8457f37-d9ea-0310-8a92-e5e31aec5664",CWE-79,Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting'),The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.,https://cwe.mitre.org/data/definitions/79.html,CVE-2006-10001,"function block_email_request($email) { if ( $this->is_blocked($email) ) return false; $subject = __('E-mail block confirmation', 'subscribe-to-comments'); $message = sprintf(__(""You are receiving this message to confirm that you no longer wish to receive e-mail comment notifications from \""%s\""\n\n"", 'subscribe-to-comments'), get_bloginfo('name')); $message .= __(""To cancel all future notifications for this address, click this link:\n\n"", 'subscribe-to-comments'); $message .= get_bloginfo('wpurl') . ""/wp-subscription-manager.php?email="" . urlencode($email) . ""&key="" . $this->generate_key($email . 'blockrequest') . ""&blockemailconfirm=true"" . "".\n\n""; $message .= __(""If you did not request this action, please disregard this message."", 'subscribe-to-comments'); return $this->send_mail($email, $subject, $message); }" 1,"function change_email_request() { if ( $this->is_blocked() ) return false; $subject = __('E-mail change confirmation', 'subscribe-to-comments'); $message = sprintf(__(""You are receiving this message to confirm a change of e-mail address for your subscriptions at \""%s\""\n\n"", 'subscribe-to-comments'), get_bloginfo('blogname')); $message .= sprintf(__(""To change your e-mail address to %s, click this link:\n\n"", 'subscribe-to-comments'), $this->new_email); $message .= get_bloginfo('wpurl') . ""/wp-subscription-manager.php?email="" . $this->email . ""&new_email="" . $this->new_email . ""&key="" . $this->generate_key($this->email . $this->new_email) . "".\n\n""; $message .= __('If you did not request this action, please disregard this message.', 'subscribe-to-comments'); return $this->send_mail($this->email, $subject, $message); }",True,PHP,change_email_request,subscribe-to-comments.php,https://github.com/wp-plugins/subscribe-to-comments,wp-plugins,markjaquith,2006-09-17 06:38:32+00:00,"version 2.0.8, XSS fix thanks to MustLive, more fixes for addresses with + symbols git-svn-id: https://plugins.svn.wordpress.org/subscribe-to-comments/trunk@6401 b8457f37-d9ea-0310-8a92-e5e31aec5664",CWE-79,Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting'),The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.,https://cwe.mitre.org/data/definitions/79.html,CVE-2006-10001,"function change_email_request() { if ( $this->is_blocked() ) return false; $subject = __('E-mail change confirmation', 'subscribe-to-comments'); $message = sprintf(__(""You are receiving this message to confirm a change of e-mail address for your subscriptions at \""%s\""\n\n"", 'subscribe-to-comments'), get_bloginfo('blogname')); $message .= sprintf(__(""To change your e-mail address to %s, click this link:\n\n"", 'subscribe-to-comments'), $this->new_email); $message .= get_bloginfo('wpurl') . ""/wp-subscription-manager.php?email="" . urlencode($this->email) . ""&new_email="" . urlencode($this->new_email) . ""&key="" . $this->generate_key($this->email . $this->new_email) . "".\n\n""; $message .= __('If you did not request this action, please disregard this message.', 'subscribe-to-comments'); return $this->send_mail($this->email, $subject, $message); }" 4,"$email = strtolower($comment_author_email); } else { return false; } $post_author = get_userdata($post->post_author); if ( strtolower($post_author->user_email) == $email && $loggedin ) return 'admin'; if ( is_array($this->subscriptions_from_email($email)) ) if ( in_array($post->ID, $this->email_subscriptions) ) return $email; return false; }",True,PHP,strtolower,subscribe-to-comments.php,https://github.com/wp-plugins/subscribe-to-comments,wp-plugins,markjaquith,2006-09-17 06:38:32+00:00,"version 2.0.8, XSS fix thanks to MustLive, more fixes for addresses with + symbols git-svn-id: https://plugins.svn.wordpress.org/subscribe-to-comments/trunk@6401 b8457f37-d9ea-0310-8a92-e5e31aec5664",CWE-79,Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting'),The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.,https://cwe.mitre.org/data/definitions/79.html,CVE-2006-10001,"function manage_link($email='', $html=true, $echo=true) { $link = get_bloginfo('wpurl') . '/wp-subscription-manager.php'; if ( $email != 'admin' ) { $link = add_query_arg('email', urlencode(urlencode($email)), $link); $link = add_query_arg('key', $this->generate_key($email), $link); } $link = add_query_arg('ref', urlencode('http: $link = str_replace('+', '%2B', $link); if ( $html ) $link = htmlentities($link); if ( !$echo ) return $link; echo $link; }" 5,"function manage_link($email='', $html=true, $echo=true) { $link = get_bloginfo('wpurl') . '/wp-subscription-manager.php'; if ( $email != 'admin' ) { $link = add_query_arg('email', urlencode($email), $link); $link = add_query_arg('key', $this->generate_key($email), $link); } $link = add_query_arg('ref', urlencode('http: if ( $html ) $link = htmlentities($link); if ( !$echo ) return $link; echo $link; }",True,PHP,manage_link,subscribe-to-comments.php,https://github.com/wp-plugins/subscribe-to-comments,wp-plugins,markjaquith,2006-09-17 06:38:32+00:00,"version 2.0.8, XSS fix thanks to MustLive, more fixes for addresses with + symbols git-svn-id: https://plugins.svn.wordpress.org/subscribe-to-comments/trunk@6401 b8457f37-d9ea-0310-8a92-e5e31aec5664",CWE-79,Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting'),The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.,https://cwe.mitre.org/data/definitions/79.html,CVE-2006-10001,"function show_manual_subscription_form () { global $id, $sg_subscribe, $user_email; sg_subscribe_start(); $sg_subscribe->show_errors('solo_subscribe', '