SecurityContext

CVE-2024-34006: Content Encoding - Stored XSS

  • Cve: CVE-2024-34006
  • Name: Content Encoding - Stored XSS
  • Description: The site log report required additional encoding of event descriptions to ensure any HTML in the content is displayed in plaintext instead of being rendered.
  • Impact: Attackers could inject HTML content that may be executed or rendered, leading to potential cross-site scripting or content manipulation.
  • Remediation: Implement proper HTML encoding for event descriptions to prevent HTML rendering, and sanitize input to prevent injection.
  • Vulnerability type: stored_xss
  • Vulnerability impact: client_script_exec
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 4.3
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N
  • Epss score: 0.00356
  • Epss percentile: 0.29911
  • Assignee: [email protected]
  • Published at: 2024-05-31T21:15:09Z
  • Age in days: 907
  • Modified at: 2026-06-17T07:32:43Z
  • Patch available: yes
  • References total: 1
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2024-34006
  • Nvd status: analyzed
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-838Inappropriate Encoding for Output Context

References

UrlSourceTags
https://moodle.org/mod/forum/discuss.php?d=458395nvdVendor Advisory

Products

ProductAffectedPlatform boundSourcesUrl
moodle:moodle>= 4.3.0, < 4.3.4; >= 4.2.0, < 4.2.7; < 4.1.10nonvd/v1/products/moodle/moodle

Projects

RepositoryLink kindsIndexedUrl
moodle/moodlecommit, fix, packageyes/v1/repositories/moodle/moodle

Index

  • Repositories: 1
  • Repositories high signal: 1
  • Checked, none or zero: packages

Exploitation

  • Remote: yes
  • Exposed hosts: 62525
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports