CVE-2023-36828
What it is
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.
At a glance
- Exploitability
- Can be exploited over the network with a low-privilege account, but needs a user to act. Limited direct impact.
- Exploit odds
- 0.7% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 0.7% in the next 30 days (EPSS).
- Severity: 5.5 MEDIUM (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 0.7% · EPSS, next 30 days
- Weakness
- CWE-79 · Cross-site scripting
- Record status
- Modified
Affected
- Statamic < 4.10.0
Attack profile CVSS 3.1 · 5.5
- Attack vector
- Network
- Complexity
- High
- Privileges needed
- Low
- User interaction
- Required
- Scope
- Changed
- Confidentiality
- Low
- Integrity
- Low
- Availability
- Low
Raw vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:L
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2023-36828.md and follow it. Check whether this project is affected by CVE-2023-36828. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- https://github.com/statamic/cms/commit/c714893ad92de6e5ede17b501003441af505b30d
- https://github.com/statamic/cms/pull/8408
- https://github.com/statamic/cms/releases/tag/v4.10.0
- https://github.com/statamic/cms/security/advisories/GHSA-6r5g-cq4q-327g
- https://github.com/statamic/cms/commit/c714893ad92de6e5ede17b501003441af505b30d
- https://github.com/statamic/cms/pull/8408
- https://github.com/statamic/cms/releases/tag/v4.10.0
- https://github.com/statamic/cms/security/advisories/GHSA-6r5g-cq4q-327g
References
- https://github.com/statamic/cms/blob/f806b6b007ddcf066082eef175653c5beaa96d60/src/Http/Controllers/CP/Fieldtypes/FilesFieldtypeController.php#L15
- https://github.com/statamic/cms/blob/f806b6b007ddcf066082eef175653c5beaa96d60/src/Tags/Svg.php#L36-L40
- https://github.com/statamic/cms/commit/c714893ad92de6e5ede17b501003441af505b30d
- https://github.com/statamic/cms/pull/8408
- https://github.com/statamic/cms/releases/tag/v4.10.0
- https://github.com/statamic/cms/security/advisories/GHSA-6r5g-cq4q-327g
- https://github.com/statamic/cms/blob/f806b6b007ddcf066082eef175653c5beaa96d60/src/Http/Controllers/CP/Fieldtypes/FilesFieldtypeController.php#L15
- https://github.com/statamic/cms/blob/f806b6b007ddcf066082eef175653c5beaa96d60/src/Tags/Svg.php#L36-L40
- https://github.com/statamic/cms/commit/c714893ad92de6e5ede17b501003441af505b30d
- https://github.com/statamic/cms/pull/8408
- https://github.com/statamic/cms/releases/tag/v4.10.0
- https://github.com/statamic/cms/security/advisories/GHSA-6r5g-cq4q-327g