Repository navigation
Conversation
There was a problem hiding this comment.
🟡 Changes recommended
Unresolved critical security issues allow package mappings to write outside the project or trigger code execution, while incomplete visibility filtering exposes draft or deleted blog tags publicly.
5 open issues
What changed in this PR
This PR follows up on #26514 with security hardening across ABP’s framework, CLI and CMS Kit, plus compatibility fixes for sorting, Docs caching and OpenIddict logout callbacks.
Changes:
- Applies inherited authorization, feature and auditing attributes consistently.
- Tightens CLI file handling, generated proxy validation and CMS Kit public behavior.
- Adds regression coverage and migration guidance for affected applications.
| File | Description |
|---|---|
| npm/ng-packs/packages/cms-kit/admin/src/defaults/comments/default-comment-entity-props.ts | Validates and escapes comment links. |
| modules/openiddict/test/Volo.Abp.OpenIddict.AspNetCore.Tests/Volo/Abp/OpenIddict/Integration/WildcardRedirect_Integration_Tests.cs | Tests alternate logout callback spellings. |
| modules/openiddict/src/Volo.Abp.OpenIddict.AspNetCore/Volo/Abp/OpenIddict/WildcardDomains/AbpOpenIddictWildcardDomainValidator.cs | Handles default ports and root callback spellings. |
| modules/openiddict/src/Volo.Abp.OpenIddict.AspNetCore/Volo/Abp/OpenIddict/WildcardDomains/AbpOpenIddictWildcardDomainOptions.cs | Clarifies wildcard callback documentation. |
| modules/docs/test/Volo.Docs.Web.Tests/ReplacedDocumentSource_Http_Tests.cs | Tests version-specific languages in replacement sources. |
| modules/docs/test/Volo.Docs.Web.Tests/ProjectLanguages_Http_Tests.cs | Tests shared file-system language caching. |
| modules/docs/test/Volo.Docs.Admin.Application.Tests/Volo/Docs/ClearCacheFailure_Tests.cs | Tests cache clearing when generation invalidation fails. |
| modules/docs/src/Volo.Docs.Web/Pages/Documents/Project/Index.cshtml.cs | Adds a comment explaining version-name validation. |
| modules/docs/src/Volo.Docs.Common.Application/Volo/Docs/Common/Projects/ProjectAppService.cs | Shares language cache entries for the built-in file-system source. |
| modules/docs/src/Volo.Docs.Admin.Application/Volo/Docs/Admin/Documents/DocumentAdminAppService.cs | Defers language-generation invalidation until after commit. |
| modules/cms-kit/test/Volo.CmsKit.TestBase/Tags/TagRepository_Test.cs | Tests popular-tag filtering for hidden posts. |
| modules/cms-kit/test/Volo.CmsKit.Public.Web.Tests/PublicLookupCache_Http_Tests.cs | Tests routing with stale slug aliases. |
| modules/cms-kit/test/Volo.CmsKit.Application.Tests/SortingPrivacy_Tests.cs | Covers supported comment and public-post sorting. |
| modules/cms-kit/test/Volo.CmsKit.Application.Tests/Pages/StoredValueCacheKey_Tests.cs | Tests stored-value cache keys and stale entries. |
| modules/cms-kit/test/Volo.CmsKit.Application.Tests/Menus/MenuItemPublicAppService_Tests.cs | Tests menu URL scheme filtering. |
| modules/cms-kit/test/Volo.CmsKit.Application.Tests/Menus/CacheInvalidationTiming_Tests.cs | Tests post-commit cache invalidation. |
| modules/cms-kit/test/Volo.CmsKit.Application.Tests/Blogs/BlogInteractionFeature_Tests.cs | Tests comment editing when comments are disabled. |
| modules/cms-kit/src/Volo.CmsKit.Public.Web/Pages/CmsKitPageRouteValueTransformer.cs | Checks cached slug spelling before claiming routes. |
| modules/cms-kit/src/Volo.CmsKit.Public.Application/Volo/CmsKit/Public/Pages/PagePublicAppService.cs | Avoids caching or returning stale slug aliases. |
| modules/cms-kit/src/Volo.CmsKit.Public.Application/Volo/CmsKit/Public/Menus/MenuItemPublicAppService.cs | Filters unsafe menu URL schemes. |
| modules/cms-kit/src/Volo.CmsKit.Public.Application/Volo/CmsKit/Public/Comments/CommentPublicAppService.cs | Checks blog features before editing comments. |
| modules/cms-kit/src/Volo.CmsKit.Public.Application/Volo/CmsKit/Public/Blogs/BlogPostPublicAppService.cs | Expands sorting to additional returned fields. |
| modules/cms-kit/src/Volo.CmsKit.MongoDB/Volo/CmsKit/MongoDB/Tags/MongoTagRepository.cs | Filters hidden posts from popular-tag counts. |
| modules/cms-kit/src/Volo.CmsKit.EntityFrameworkCore/Volo/CmsKit/Tags/EfCoreTagRepository.cs | Filters hidden posts from popular-tag counts. |
| modules/cms-kit/src/Volo.CmsKit.EntityFrameworkCore/Volo/CmsKit/Comments/EfCoreCommentRepository.cs | Handles joined multi-column comment sorting. |
| modules/cms-kit/src/Volo.CmsKit.Common.Application/Volo/CmsKit/Menus/MenuChangedHandler.cs | Defers menu cache removal until commit. |
| modules/cms-kit/src/Volo.CmsKit.Common.Application/Volo/CmsKit/Blogs/BlogFeatureChangedHandler.cs | Defers blog-feature cache removal until commit. |
| modules/cms-kit/src/Volo.CmsKit.Common.Application/Volo/CmsKit/Blogs/BlogFeatureAppService.cs | Rejects stale default and alternate-name cache entries. |
| modules/cms-kit/src/Volo.CmsKit.Admin.Application/Volo/CmsKit/Admin/Comments/CommentAdminAppService.cs | Normalizes comment prefixes before sorting validation. |
| modules/blogging/src/Volo.Blogging.Web/Pages/Blogs/BloggingPageHelper.cs | Adds a comment clarifying excerpt sanitization. |
| framework/test/Volo.Abp.Features.Tests/Volo/Abp/Features/ExplicitInterfaceFeature_Tests.cs | Tests derived-class features on inherited methods. |
| framework/test/Volo.Abp.Cli.Core.Tests/Volo/Abp/Cli/ServiceProxying/CSharp/CSharpServiceProxyGenerator_Tests.cs | Tests proxy validation and output compatibility. |
| framework/test/Volo.Abp.Cli.Core.Tests/Volo/Abp/Cli/LIbs/InstallLibsResourceMapping_Tests.cs | Tests package resource-mapping restrictions. |
| framework/test/Volo.Abp.Cli.Core.Tests/Volo/Abp/Cli/Auth/AuthService_Tests.cs | Tests Unix token-file permissions. |
| framework/test/Volo.Abp.Authorization.Tests/Volo/Abp/Authorization/ExplicitInterfaceAuthorization_Tests.cs | Tests derived-class policies on inherited methods. |
| framework/test/Volo.Abp.Auditing.Tests/Volo/Abp/Auditing/JsonAuditSerializer_Test.cs | Tests inherited auditing exclusions during serialization. |
| framework/test/Volo.Abp.Auditing.Tests/Volo/Abp/Auditing/Auditing_Tests.cs | Tests auditing attributes on overridden entity properties. |
| framework/test/Volo.Abp.Auditing.Tests/Volo/Abp/Auditing/App/EntityFrameworkCore/AbpAuditingTestDbContext.cs | Registers new auditing test entities. |
| framework/test/Volo.Abp.Auditing.Tests/Volo/Abp/Auditing/App/Entities/AppEntityWithOverriddenDisableAuditingProperty.cs | Adds an inherited auditing-exclusion fixture. |
| framework/test/Volo.Abp.Auditing.Tests/Volo/Abp/Auditing/App/Entities/AppEntityWithOverriddenAuditedProperty.cs | Adds an inherited audited-property fixture. |
| framework/test/Volo.Abp.AspNetCore.Mvc.UI.MultiTenancy.Tests/AbpTenantAppService_Tests.cs | Tests tenant-name length limits and valid lookup. |
| framework/src/Volo.Abp.Http.Client.IdentityModel.Web/Volo/Abp/Http/Client/IdentityModel/Web/HttpContextIdentityModelRemoteServiceHttpClientAuthenticator.cs | Adds a comment explaining credential fallback restrictions. |
| framework/src/Volo.Abp.Features/Volo/Abp/Features/MethodInvocationFeatureCheckerService.cs | Uses the reflected type for class-level features. |
| framework/src/Volo.Abp.EntityFrameworkCore/Volo/Abp/EntityFrameworkCore/EntityHistory/EntityHistoryHelper.cs | Respects auditing attributes on overridden properties. |
| framework/src/Volo.Abp.Cli.Core/Volo/Abp/Cli/ServiceProxying/CSharp/CSharpServiceProxyGenerator.cs | Validates generated code inputs and confines output paths. |
| framework/src/Volo.Abp.Cli.Core/Volo/Abp/Cli/LIbs/InstallLibsService.cs | Restricts package-controlled copying and cleaning. |
| framework/src/Volo.Abp.Cli.Core/Volo/Abp/Cli/Auth/AuthService.cs | Restricts token-file permissions on supported Unix targets. |
| framework/src/Volo.Abp.Authorization/Volo/Abp/Authorization/MethodInvocationAuthorizationService.cs | Uses the reflected type for class-level authorization. |
| framework/src/Volo.Abp.Auditing/Volo/Abp/Auditing/JsonAuditSerializer.cs | Honors inherited auditing exclusions. |
| framework/src/Volo.Abp.Auditing/Volo/Abp/Auditing/AuditingHelper.cs | Adds a comment explaining inherited-method auditing. |
| framework/src/Volo.Abp.AspNetCore.Mvc.UI.MultiTenancy/Pages/Abp/MultiTenancy/AbpTenantAppService.cs | Bounds tenant names before normalization and lookup. |
| docs/en/release-info/migration-guides/abp-11-0.md | Documents security behavior and migration requirements. |
Review effort: Balanced
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## rel-11.0 #26579 +/- ##
============================================
- Coverage 51.80% 51.67% -0.13%
============================================
Files 4080 4209 +129
Lines 147438 151660 +4222
Branches 11521 11867 +346
============================================
+ Hits 76377 78373 +1996
- Misses 68819 70975 +2156
- Partials 2242 2312 +70 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
…tform case rules in install-libs
There was a problem hiding this comment.
🟡 Changes recommended
Library resource path checks remain bypassable through symbolic links and case-sensitive macOS paths, allowing sensitive file exposure or writes outside permitted directories.
3 open issues
5 resolved since last review
Review effort: Balanced
| private static readonly bool IgnoresCase = | ||
| RuntimeInformation.IsOSPlatform(OSPlatform.Windows) || RuntimeInformation.IsOSPlatform(OSPlatform.OSX); |
| return Path.GetFullPath(path).StartsWith(GetFullDirectory(directory), | ||
| (ignoreCase ?? IgnoresCase) ? StringComparison.OrdinalIgnoreCase : StringComparison.Ordinal); |
| var relations = await (from tag in await GetDbSetAsync() | ||
| join entityTag in (await GetDbContextAsync()).Set<EntityTag>() on tag.Id equals entityTag.TagId | ||
| where tag.EntityType == entityType | ||
| select new { tag.Id, tag.Name, entityTag.EntityId }) | ||
| .ToListAsync(GetCancellationToken(cancellationToken)); |


Related to #26514
Applies class-level authorization and features to inherited methods, respects inherited
[DisableAuditing]in audit logs, restricts CLI token files, package resource mappings and generated proxy code, closes remaining CMS Kit gaps, and fixes sorting, Docs language caching and OpenIddict logout callback issues introduced by #26514.