system: You are an expert security code reviewer. You will be shown a source code file along with a multi-select question listing several CWE (Common Weakness Enumeration) categories. Your task is to identify which of the listed CWEs are present in the code.

OUTPUT FORMAT: Respond with the letter(s) of all correct options, sorted alphabetically and comma-separated, wrapped in a single \boxed{...}. Examples: `\boxed{A}` for one correct, `\boxed{A,C}` for two, `\boxed{A,C,E}` for three. Output the boxed answer ONLY -- no explanation, no other text.

user: ```python
"""
MIT License

Copyright (c) 2019 AlexTemnyakov

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
"""

import random
import sys
import json

symbols = []

def generate_password(length):
    password = ""
    for n in range(length):
        password += chr(random.randint(33, 127))
    return password

def generate_password_digits_letters_only(length):
    password = ""
    for n in range(length):
        password += chr(symbols[random.randint(0, len(symbols)-1)])
    return password

    
def save_passwords(listOfPasswords):
    with open("out\\passwords.txt", "w", encoding="utf-8") as file:
        i = 1
        for password in listOfPasswords:
            file.write(str(i) + ". Password: " + password + "\n")
            i += 1


if __name__ == "__main__":
    # make list of letters and digits
    for i in range(10):
        symbols.append(i + 48)
    for i in range(26):
        symbols.append(i + 65)
    for i in range(26):
        symbols.append(i + 97)
    if len(sys.argv) > 1:
        filename = sys.argv[1]
        with open(filename) as data_file:
            input_args = json.loads(data_file.read())
        length = int(input_args.get('length'))
        count = int(input_args.get('count'))
        onlyLettersAndDigits = input_args.get('only letters and digits')
        with open("out\\passwords.txt", "w", encoding="utf-8") as file:
            i = 1
            password = ""
            if onlyLettersAndDigits == "true":
                for n in range(count):
                    password = generate_password_digits_letters_only(length)
                    file.write(str(i) + ". Password: " + password + "\n")
                    i += 1
            else:
                for n in range(count):
                    password = generate_password(length)
                    file.write(str(i) + ". Password: " + password + "\n")
                    i += 1
    else:
        length = int(input("Enter password length "))
        count = int(input("Enter the number of passwords you want to generate "))
        onlyLettersAndDigits = "true"
        with open("passwords.txt", "w", encoding="utf-8") as file:
            i = 1
            password = ""
            if onlyLettersAndDigits == "true":
                for n in range(count):
                    password = generate_password_digits_letters_only(length)
                    print(password)
                    #file.write(str(i) + ". Password: " + password + "\n")
                    i += 1
            else:
                for n in range(count):
                    password = generate_password(length)
                    print(password)
                    #file.write(str(i) + ". Password: " + password + "\n")
                    i += 1

```

Which of the following CWE vulnerability categories are present in this code? Multiple options may be correct.

  A) CWE-943: Improper Neutralization of Special Elements in Data Query Logic
  B) CWE-295: Improper Certificate Validation
  C) CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
  D) CWE-918: Server-Side Request Forgery (SSRF)
  E) CWE-209: Generation of Error Message Containing Sensitive Information
  F) CWE-312: Cleartext Storage of Sensitive Information
Answer: F