You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: MyApp/_pages/releases/v8_09.md
+23Lines changed: 23 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3142,3 +3142,26 @@ customizations see the [API Explorer Docs](https://docs.servicestack.net/api-exp
3142
3142
## XSS Vulnerability fixed in HtmlFormat.html
3143
3143
3144
3144
Late in this release cycle a Customer has reported a DOM XSS vulnerability in ServiceStack's built-in HtmlFormat.html page which has been fixed in [this commit](https://github.com/ServiceStack/ServiceStack/commit/76df4609410f7b440c3fb153371a1d29b9c06ac0) and available from this ServiceStack v8.9+ release.
3145
+
3146
+
Alternatively it can also be prevented by rejecting requests with `"` in its path:
3147
+
3148
+
```csharp
3149
+
GlobalRequestFilters.Add((req, res, dto) => {
3150
+
if (req.OriginalPathInfo.IndexOf('"') >=0)
3151
+
throwHttpError.Forbidden("Illegal characters in path");
0 commit comments