Lara-zeus Dynamic Dashboard and Artemis do not validate paragraph widget values which can be used for XSS
Impact
Summary If values passed to a paragraph widget are not valid and contain a specific set of characters, applications are vulnerable to XSS attack against a user who opens a page on which a paragraph widget is rendered.
Source excerpt · OSVAffected packages
Start with the recorded fix for your release branch. Check your installed version and test compatibility before upgrading. Fixing this advisory does not rule out other vulnerabilities in the release.
| Affected range | Recorded fix |
|---|---|
| From 3.0.0 before 3.0.2Ecosystem versions | 3.0.2 |
Version evidence: OSV · GHSA-c6cw-g7fc-4gwc
View original version evidence (2 explicit versions)
| Affected range | Recorded fix |
|---|---|
| From 1.0.0 before 1.0.7Ecosystem versions | 1.0.7 |
Version evidence: OSV · GHSA-c6cw-g7fc-4gwc
View original version evidence (7 explicit versions)
Original source description
Summary
If values passed to a paragraph widget are not valid and contain a specific set of characters, applications are vulnerable to XSS attack against a user who opens a page on which a paragraph widget is rendered.
Versions of dynamic dashboard from v3.0.0 through v3.0.2 are affected.
Please upgrade to dynamic dashboard v3.0.2.
PoC
PoC will be published in a few weeks, once developers have had a chance to upgrade their apps.
Response
This vulnerability (in paragraph widget only) was reported by Raghav Sharma, who reported the issue and patched the issue during the morning of 05/10/2024. Thank you Raghav Sharma.
The review process concluded the same day at night, which revealed the issue was also present in paragraph widget. This was fixed the same day and dynamic dashboard v3.0.2 followed.
Note:
if you're published the view (blade files), you have to republish them or check the changes on release to update the affected file.
References
- Security advisory github.com/lara-zeus/dynamic-dashboard/security/advisories/GHSA-c6cw-g7fc-4gwc
- Security advisory nvd.nist.gov/vuln/detail/CVE-2024-47817
- Patch github.com/lara-zeus/artemis/commit/3a3f9dd8a706af569c5581b20dcfeff91a43b9d9
- Patch github.com/lara-zeus/artemis/commit/4636f58628d20d3e78ea8514406bd7da94997f2c
- Patch github.com/lara-zeus/dynamic-dashboard/commit/adfb4b1cdfdaa01299631f0e569ce201a7cc545a
- Source reference github.com/lara-zeus/dynamic-dashboard