All reports
High

WordPress Core < 6.0.3 - Stored Cross-Site Scripting via wp-mail.php

Affected versions

WordPresswordpress
Affected versions
<=3.6.1 || >=3.7 <=3.7.39 || >=3.8 <=3.8.39 || >=3.9 <=3.9.37 || >=4.0 <=4.0.36 || >=4.1 <=4.1.36 || >=4.2 <=4.2.33 || >=4.3 <=4.3.29 || >=4.4 <=4.4.28 || >=4.5 <=4.5.27 || >=4.6 <=4.6.24 || >=4.7 <=4.7.24 || >=4.8 <=4.8.20 || >=4.9 <=4.9.21 || >=5.0 <=5.0.17 || >=5.1 <=5.1.14 || >=5.2 <=5.2.16 || >=5.3 <=5.3.13 || >=5.4 <=5.4.11 || >=5.5 <=5.5.10 || >=5.6 <=5.6.9 || >=5.7 <=5.7.7 || >=5.8 <=5.8.5 || >=5.9 <=5.9.4 || >=6.0 <=6.0.2
Fixed version
3.7.40 · 3.8.40 · 3.9.38 · 4.0.37 · 4.1.37 · 4.2.34 · 4.3.30 · 4.4.29 · 4.5.28 · 4.6.25 · 4.7.25 · 4.8.21 · 4.9.22 · 5.0.18 · 5.1.15 · 5.2.17 · 5.3.14 · 5.4.12 · 5.5.11 · 5.6.10 · 5.7.8 · 5.8.6 · 5.9.5 · 6.0.3

Exploitation

CVE-2022-43504

Probability of exploitation in the next 30 days: 1.55%

FIRST EPSS · 2026-11-20

Description

WordPress Core in versions up to 6.0.3 are vulnerable to Cross-Site Scripting via wp-mail.php. This is due to no validation on what level the user was sending the email post and therefore did not perform any sanitization on the submitted post data. This meant that users without the unfiltered_html capability, with access to submitting posts via email, could inject malicious JavaScript into posts that would execute whenever someone accessed the post. CVE-2022-43500 may be a duplicate of this issue.

Links

Credits

  • Toshitsugu Yoneyama of Mitsui Bussan Secure Directions, Inc. via JPCERT

Data rights and licenses

Wordfence

Copyright 2012-2026 Defiant Inc.

Defiant hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute this software vulnerability information. Any copy of the software vulnerability information you make for such purposes is authorized provided that you include a hyperlink to this vulnerability record and reproduce Defiant's copyright designation and this license in any such copy.

License terms

Copyright 1999-2026 The MITRE Corporation

CVE Usage: MITRE hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute Common Vulnerabilities and Exposures (CVE®). Any copy you make for such purposes is authorized provided that you reproduce MITRE's copyright designation and this license in any such copy.

License terms
Wordfence

Copyright 2012-2026 Defiant Inc.

Defiant hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute this software vulnerability information. Any copy of the software vulnerability information you make for such purposes is authorized provided that you include a hyperlink to this vulnerability record and reproduce Defiant's copyright designation and this license in any such copy.

License terms

Copyright 1999-2026 The MITRE Corporation

CVE Usage: MITRE hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute Common Vulnerabilities and Exposures (CVE®). Any copy you make for such purposes is authorized provided that you reproduce MITRE's copyright designation and this license in any such copy.

License terms