Mittel

Cross-site scripting in PHPMailer

  • Veröffentlicht: 05.03.2020
  • Aktualisiert: 11.10.2026 10:22

PHPMailer versions prior to 5.2.24 (released July 26th 2017) have an XSS vulnerability in one of the code examples, CVE-2017-11503. The code_generator.phps example did not filter user input prior to output. This file is distributed with a .phps extension, so it it not normally executable unless it is explicitly renamed, and the file is not included when PHPMailer is loaded through composer, so it is safe by default. There was also an undisclosed potential XSS vulnerability in the default exception handler (unused by default). Patches for both issues kindly provided by Patrick Monnerat of the Fedora Project.

Impact

PHPMailer 5.2.23 has XSS in the "From Email Address" and "To Email Address" fields of code_generator.php.

Patches

Fixed in 5.2.24

Workarounds

None.

References

https://nvd.nist.gov/vuln/detail/CVE-2017-11503

For more information

If you have any questions or comments about this advisory:

Betroffene Software

Klicken Sie auf eine Technologie, um alle zugehörigen Schwachstellen anzuzeigen.

PlattformPaketAnfällige VersionenBehoben in
Composer-Paket phpmailer/phpmailer >= 5.0.0, < 5.2.24 5.2.24

Verweise

CVSS-Wert 6.1/10
CVSS-Vektor
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Schwäche (CWE)
CWE-79
Plattform
Composer
Paket
phpmailer/phpmailer
Veröffentlicht
05.03.2020
Aktualisiert
11.10.2026 10:22

Quellen und Lizenzen

OSV / GitHub Advisory Database - GHSA-58mj-pw57-4vm2 - CC BY 4.0

Schwachstellenhistorie: phpmailer/phpmailer

Alle veröffentlichten Schwachstellen dieses Pakets (Composer-Paket), neueste zuerst. Zeigt, ob es ein einmaliger Ausrutscher ist oder ein Paket, das man im Auge behalten muss.

Alle (13) im Archiv
Einträge insgesamt
13
Erste → letzte
12.2016 02.2024
Ohne Fix
0
In Angriffen ausgenutzt
0

Verteilung nach Schweregrad

  • Kritisch 2
  • Hoch 7
  • Mittel 3
  • Niedrig 1

Veröffentlichungen pro Jahr

  1. 2017: 0
  2. 2018: 0
  3. 2019: 0
  4. 2020: 5
  5. 2021: 3
  6. 2022: 2
  7. 2023: 0
  8. 2024: 2
  9. 2025: 0
  10. 2026: 0

früher: 1

Schweregrad:
  1. Hoch CVE-2007-3215 < 1.7.4 1.7.4
  2. Hoch CVE-2012-0796 < 2.2.1 2.2.1
  3. Hoch CVE-2008-5619 < 5.2.10 5.2.10
  4. Kritisch · 9.8 CVE-2020-36326 >= 6.1.8, < 6.4.1 6.4.1
  5. Hoch · 7.5 CVE-2020-13625 < 6.1.6 6.1.6
  6. Cross-site scripting in PHPMailer dieser Eintrag
    Mittel · 6.1 CVE-2017-11503 >= 5.0.0, < 5.2.24 5.2.24
  7. Hoch · 8.8 CVE-2018-19296 >= 5.0.0, < 5.2.27, >= 6.0.0, < 6.0.6 5.2.27, 6.0.6
  8. Kritisch · 9.8 CVE-2016-10045 >= 5.0.0, < 5.2.18 5.2.18

Erkennen Sie Schwachstellen in Ihrer Anwendung

Mit der DockRay-Integration und aktivierter Softwareinventarisierung prüft DockRay gemeldete Komponentenversionen auf bekannte Schwachstellen und benachrichtigt Sie über bestätigte Treffer. Die Abdeckung hängt von der unterstützten Technologie und den verfügbaren Meldungen ab.

Anwendung verbinden
DockRay Newsletter

Anwendungssicherheit in Ihrem Postfach

Wichtige Schwachstellen, konkrete Empfehlungen und praktische Tipps für Ihre Anwendungen. Wählen Sie Ihre Technologien und verfolgen Sie, was für Ihr Projekt relevant ist.

  • Eine tägliche Zusammenfassung neuer Schwachstellen, auch kritischer.
  • Benachrichtigungen über wichtige Updates.
  • Praktische Tipps zur Sicherheit und Überwachung von Anwendungen.

Leer lassen, um Meldungen zu allen Technologien zu erhalten.

Kostenlos anmelden. In jeder E-Mail mit einem Klick abmelden.