Medium severity · published Apr 23, 2024
CVE-2024-2477
wpDiscuz <= 7.6.15 - Authenticated (Author+) Stored Cross-Site Scripting via Uploaded Image Alternative Text
5.4
CVSS
0.3%
EPSS
No
On KEV
Description
The wpDiscuz plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'Alternative Text' field of an uploaded image in all versions up to, and including, 7.6.15 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with author-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Attack vector
Network
Complexity
Low
Privileges
Low
User interaction
Required
Confidentiality
Low
Integrity
Low
Availability
None
Scope
Changed
Exploitation
Is it being used?
Exploit prediction (EPSS)0.3% · higher than 27% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
CW
Comments – wpDiscuz · advancedcoding
through 7.6.15 · source: vendor
WP
Wpdiscuz · Gvectors
before 7.6.16 · source: NVD, CISA
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2024-2477
CVE.org
https://www.cve.org/CVERecord?id=CVE-2024-2477
Patch
https://plugins.trac.wordpress.org/changeset/3060040/wpdiscuz/trunk/utils/class.WpdiscuzHelperUpload.php
Third Party Advisory
https://www.wordfence.com/threat-intel/vulnerabilities/id/3eddc03d-ecff-4b50-a574-7b6b62e53af0?source=cve
More from Comments – wpDiscuz
9.8
CVE-2024-9488
Comments – wpDiscuz <= 7.6.24 - Authentication Bypass via WordPress.com OAuth provider
7.2
CVE-2026-9148
Comments <= 7.6.56 - Unauthenticated Stored Cross-Site Scripting via 'Website' Field
6.1
CVE-2024-6704
Comments – wpDiscuz <= 7.6.21 - Unauthenticated HTML Injection
5.3
CVE-2023-3869
wpDiscuz <= 7.6.3 - Insecure Direct Object Reference to Comment Rating Increase/Decrease
5.3
CVE-2023-3998
wpDiscuz <= 7.6.3 - Insecure Direct Object Reference to Post Rating Increase/Decrease
