Versions
Jahia 8.0 to 8.2, on Jahia Cloud and on premises
Platforms / Jahia
A Jahia security scan is the CMS Security Audit of the custom Java modules, JavaScript modules and configuration of a Jahia DXP site.
The CMS Security Scanner reads the Java and JavaScript modules of a Jahia site, from Jahia DXP 8.0 to 8.2, on Jahia Cloud or on premises. The team that audits the Jahia platform itself runs the scan, and a consultant checks each finding before the report.
Versions
Jahia 8.0 to 8.2, on Jahia Cloud and on premises
Code read
Java, JSP, JSX and TypeScript, CND node types, Drools rules, OSGi configuration and URL rewrite rules
What we need
A source archive or a Git repository, the Jahia version and the list of modules that each environment runs
Report
Findings with a CVSS score, a CWE, the entry point, the code path to the sink and a fix, reviewed by CMS Security Consultants
The scan lists every construct that lets a request, an event or stored content reach custom code, with the check in front of it.
| Category | Construct in your code | Risk |
|---|---|---|
| Render actions | Classes that extend org.jahia.bin.Action and answer a *.do URL on a node | An action reads request parameters and often writes content, so it needs a permission check and CSRF protection. |
| JSP views and templates | JSP views of node types, templates and tag files in the module resources | A view prints stored values into HTML, and each module JSP is also reachable as a direct URL under /modules/. |
| JavaScript module views and islands | JSX and TSX components that the javascript-modules engine renders on the server, and islands that hydrate in the browser | A server-rendered component prints node properties into HTML, and the data of an island reaches every visitor's browser. |
| Render filters | RenderFilter implementations and AbstractFilter subclasses in the render chain | A filter runs on every rendered resource and can rewrite the output or change the render context. |
| GraphQL extensions | DXGraphQLExtensionsProvider classes with custom queries, mutations, subscriptions and types | A custom field is open on /modules/graphql unless @GraphQLRequiresPermission or a configuration rule restricts it. |
| REST resources, servlets and filters | JAX-RS resources, OSGi HTTP servlets, AbstractServletFilter subclasses and Spring MVC routes under /cms/ | These handlers skip the render chain, so each one must decide its own authentication and authorization. |
| Administration flows | Spring Web Flow flows of site settings and server settings panels | A flow binds request parameters to Java objects and evaluates expressions, and each flow needs a role check. |
| Authentication and identity | BaseAuthValve and AutoRegisteredBaseAuthValve classes, SAML, OIDC and CAS connectors, LDAP and custom user providers | A valve decides who the user is before any other check, and a mapper turns external claims into Jahia users and groups. |
| URL rewriting and static resources | urlrewrite*.xml and seo-urlrewrite*.xml rules, resource aliases and files that the module serves | A rewrite rule can forward a request to a resource that a filter checked under another path, and a served file can hold a secret. |
| Rules, listeners and jobs | Drools rules.drl files, JCR event listeners, OSGi event handlers, Quartz jobs and BackgroundJob classes | This code runs with system rights when a contributor saves or publishes content, or when a schedule fires. |
| Workflows | jBPM BPMN definitions, work item handlers and task listeners | A workflow step publishes, deletes or sends mail for content that a lower-privileged contributor wrote. |
| Edit interface extensions | Content Editor selector types, pickers, choice list initializers and jContent actions through the @jahia/ui-extender registry | An extension shows stored values in the edit interface, where editors and administrators see them. |
| Node types, roles and shipped content | CND definitions, permission and role definitions, and import.xml or repository.xml content with ACLs | These files decide which properties a user can write and which rights a module grants at installation. |
| Configuration, mounts and WebSockets | OSGi configurations in META-INF/configurations, external data providers, VFS mount points and WebSocket endpoints | A configuration can open an API or hold a credential, and a mount reads files or remote systems through the JCR. |
The scan traces user data from each entry point to the operations below, in the source code and in the compiled bundles.
| Operation | What the scanner looks for |
|---|---|
| System sessions and privilege escalation | doExecuteWithSystemSession, getSystemSession and root user calls whose node, path or user comes from a request or stored content. |
| ACL and role changes | grantRoles, revokeRoles and ACL inheritance changes that a caller can steer without the jcr:modifyAccessControl permission. |
| Missing authorization and CSRF | Reads and writes on an object that a request identifier names, and state changes that a third-party page can trigger. |
| Query injection | JCR-SQL2, XPath, QOM and SQL strings built from request data or stored content instead of fixed or bound values. |
| Cross-site scripting | Bare EL and escapeXml="false" in JSP, dangerouslySetInnerHTML in JSX, raw response writers and DOM sinks in shipped JavaScript. |
| Script and expression execution | Groovy, script engines, SpEL, MVEL, EL and reflection that an editor, a request or stored content can control. |
| Server-side request forgery and redirects | Outbound HTTP calls, VFS mounts, redirects and absolute links whose host or URL comes from request data, the Host header or stored content. |
| Deserialization and XML external entities | Java object streams, XStream, polymorphic Jackson typing, YAML, content imports and XML parsers that resolve external entities. |
| Path traversal, file access and upload | File paths, archive extraction, request forwards and uploaded files whose name or location comes from request data. |
| Secrets and sensitive data exposure | Passwords, keys and tokens in code, configuration and served files, and credentials written to logs, recorded by name and never by value. |
The same scanner audited the Jahia platform itself and found hundreds of vulnerabilities that Jahia then fixed, in the categories below.
The scanner reviews the custom modules that a customer or an integrator deploys on Jahia DXP, not the Jahia product. This includes Java modules, JavaScript modules, views, GraphQL extensions, rules, workflows and configuration. CMS Security Consultants review each finding before the report.
Yes. The scan reads the JSX and TypeScript views that render on the server, the browser islands and the npm dependencies of each module. It checks how each view escapes stored values and which server data reaches the browser.
Yes. The scan covers Jahia DXP 8.0 to 8.2, on Jahia Cloud and on premises. On Jahia Cloud, Jahia patches the platform and the customer owns its custom modules, which is the code that the scan reads.
A JCR system session bypasses every content ACL. Custom code that opens one must check the permission of the real user first. The scan follows request data and stored content to each system session in the code.
The scan found 80 to 700 vulnerabilities in each custom codebase that Jahia audited. One finding in the report can group several vulnerabilities of the same mechanism.
No. The scan reads source code, configuration and built modules. Any live proof runs on a disposable local copy, never on a customer environment.
The same method, report and consultants apply to each platform.
Tell us how to reach you. A CMS Security Consultant will contact you to plan your Jahia scan.