Skip to main content
VulnerabilityPublished Updated

CVE-2024-30884: Discuz! · Reflected Cross-Site Scripting (XSS)

Source CVE Database V5

0

Not known to be exploited · CVSS 7.1 High.

Data as of 26 Oct 2026, 12:54 UTC

CVSS 3.1 base score
7.1High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.5% chance of exploitation in 30 days – higher than 44% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 11 Apr 2024

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.

What to do

AI-suggested

To mitigate CVE-2024-30884, organizations should immediately implement strict input validation and output encoding on the primarybegin parameter in misc.php to neutralize malicious scripts. Employ context-aware encoding (e.g., HTML entity encoding) to prevent script injection. Use Content Security Policy (CSP) headers to restrict the execution of unauthorized scripts in browsers. Educate users about the risks of clicking unknown or suspicious links to reduce social engineering success. Monitor web server logs for unusual requests targeting the primarybegin parameter. If possible, upgrade to a patched version of Discuz! once available or apply vendor-provided patches. In the interim, consider deploying Web Application Firewalls (WAFs) with custom rules to detect and block XSS payloads targeting this parameter. Conduct regular security assessments and penetration tests focusing on input handling in web applications. Finally, ensure that session cookies are set with HttpOnly and Secure flags to reduce the impact of stolen cookies.

Description

Reflected Cross-Site Scripting (XSS) vulnerability in Discuz! version X3.4 20220811, allows remote attackers to execute arbitrary code and obtain sensitive information via crafted payload to the primarybegin parameter in the misc.php component.

References

Community reviews

Loading reviews…