SecurityContext

CVE-2023-36828: Statamic - Stored XSS

  • Cve: CVE-2023-36828
  • Name: Statamic - Stored XSS
  • Description: Statamic is a flat-first, Laravel and Git powered content management system. Prior to version 4.10.0, the SVG tag does not sanitize malicious SVG. Therefore, an attacker can exploit this vulnerability to perform cross-site scripting attacks using SVG, even when using the `sanitize` function. Version 4.10.0 contains a patch for this issue.
  • Impact: Attackers can execute malicious scripts in users' browsers, leading to session hijacking, data theft, or defacement.
  • Remediation: Update to version 4.10.0 or later.
  • Vulnerability type: stored_xss
  • Vulnerability impact: client_script_exec
  • Requirement type: user_interaction
  • Requirements: Attacker must inject malicious SVG content.
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 5.4
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
  • Epss score: 0.00655
  • Epss percentile: 0.52338
  • Assignee: [email protected]
  • Published at: 2023-07-05T22:15:10Z
  • Age in days: 1238
  • Modified at: 2026-06-17T06:07:09Z
  • Patch available: yes
  • Public exploits total: 1
  • References total: 6
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2023-36828
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
  • Not known: hackerone

Cwe

IdName
CWE-79Improper Neutralization of Input During Web Page Generation

Public exploits

UrlSourceAdded date
https://github.com/statamic/cms/security/advisories/GHSA-6r5g-cq4q-327gnvd2023-07-05

References

Same in every row:

  • Source: nvd
UrlTags
https://github.com/statamic/cms/commit/c714893ad92de6e5ede17b501003441af505b30dPatch
https://github.com/statamic/cms/pull/8408Patch
https://github.com/statamic/cms/security/advisories/GHSA-6r5g-cq4q-327gExploit, Vendor Advisory
https://github.com/statamic/cms/blob/f806b6b007ddcf066082eef175653c5beaa96d60/src/Http/Controllers/CP/Fieldtypes/FilesFieldtypeController.php#L15Product
https://github.com/statamic/cms/blob/f806b6b007ddcf066082eef175653c5beaa96d60/src/Tags/Svg.php#L36-L40Product
https://github.com/statamic/cms/releases/tag/v4.10.0Release Notes

Products

ProductAffectedPlatform boundSourcesUrl
statamic:statamic< 4.10.0nonvd/v1/products/statamic/statamic

Projects

RepositoryLink kindsIndexedUrl
statamic/cmscommit, fix, package, pull, releases, security_advisoryyes/v1/repositories/statamic/cms

Index

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

Exploitation

  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2023-07-05
  • Remote: yes
  • Authentication required: yes
  • Exposed hosts: 1777
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports