Skip to content
EnglishFrançais

Platforms / Jahia

Jahia security scan

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.

Request a scanSee a sample 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

How Jahia receives a request

  • Jahia runs custom code as modules, and each module is an OSGi bundle on Apache Felix and Apache Karaf inside Apache Tomcat.
  • Apache Jackrabbit stores all content as JCR nodes, and CND files, roles and ACLs decide who can read or change each node.
  • A render URL selects a node and a view, which is a JSP file or, from Jahia 8.2, a JSX component of a JavaScript module.
  • Actions, GraphQL fields, REST resources, servlets and administration flows answer the other requests, after an ordered pipeline of authentication valves identifies the user.
  • Drools rules, Quartz jobs, jBPM workflows and event listeners run custom code in the background when content changes.

Entry points reviewed

The scan lists every construct that lets a request, an event or stored content reach custom code, with the check in front of it.

CategoryConstruct in your codeRisk
Render actionsClasses that extend org.jahia.bin.Action and answer a *.do URL on a nodeAn action reads request parameters and often writes content, so it needs a permission check and CSRF protection.
JSP views and templatesJSP views of node types, templates and tag files in the module resourcesA view prints stored values into HTML, and each module JSP is also reachable as a direct URL under /modules/.
JavaScript module views and islandsJSX and TSX components that the javascript-modules engine renders on the server, and islands that hydrate in the browserA server-rendered component prints node properties into HTML, and the data of an island reaches every visitor's browser.
Render filtersRenderFilter implementations and AbstractFilter subclasses in the render chainA filter runs on every rendered resource and can rewrite the output or change the render context.
GraphQL extensionsDXGraphQLExtensionsProvider classes with custom queries, mutations, subscriptions and typesA custom field is open on /modules/graphql unless @GraphQLRequiresPermission or a configuration rule restricts it.
REST resources, servlets and filtersJAX-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 flowsSpring Web Flow flows of site settings and server settings panelsA flow binds request parameters to Java objects and evaluates expressions, and each flow needs a role check.
Authentication and identityBaseAuthValve and AutoRegisteredBaseAuthValve classes, SAML, OIDC and CAS connectors, LDAP and custom user providersA 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 resourcesurlrewrite*.xml and seo-urlrewrite*.xml rules, resource aliases and files that the module servesA 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 jobsDrools rules.drl files, JCR event listeners, OSGi event handlers, Quartz jobs and BackgroundJob classesThis code runs with system rights when a contributor saves or publishes content, or when a schedule fires.
WorkflowsjBPM BPMN definitions, work item handlers and task listenersA workflow step publishes, deletes or sends mail for content that a lower-privileged contributor wrote.
Edit interface extensionsContent Editor selector types, pickers, choice list initializers and jContent actions through the @jahia/ui-extender registryAn extension shows stored values in the edit interface, where editors and administrators see them.
Node types, roles and shipped contentCND definitions, permission and role definitions, and import.xml or repository.xml content with ACLsThese files decide which properties a user can write and which rights a module grants at installation.
Configuration, mounts and WebSocketsOSGi configurations in META-INF/configurations, external data providers, VFS mount points and WebSocket endpointsA configuration can open an API or hold a credential, and a mount reads files or remote systems through the JCR.

Dangerous operations traced

The scan traces user data from each entry point to the operations below, in the source code and in the compiled bundles.

OperationWhat the scanner looks for
System sessions and privilege escalationdoExecuteWithSystemSession, getSystemSession and root user calls whose node, path or user comes from a request or stored content.
ACL and role changesgrantRoles, revokeRoles and ACL inheritance changes that a caller can steer without the jcr:modifyAccessControl permission.
Missing authorization and CSRFReads and writes on an object that a request identifier names, and state changes that a third-party page can trigger.
Query injectionJCR-SQL2, XPath, QOM and SQL strings built from request data or stored content instead of fixed or bound values.
Cross-site scriptingBare EL and escapeXml="false" in JSP, dangerouslySetInnerHTML in JSX, raw response writers and DOM sinks in shipped JavaScript.
Script and expression executionGroovy, script engines, SpEL, MVEL, EL and reflection that an editor, a request or stored content can control.
Server-side request forgery and redirectsOutbound 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 entitiesJava object streams, XStream, polymorphic Jackson typing, YAML, content imports and XML parsers that resolve external entities.
Path traversal, file access and uploadFile paths, archive extraction, request forwards and uploaded files whose name or location comes from request data.
Secrets and sensitive data exposurePasswords, keys and tokens in code, configuration and served files, and credentials written to logs, recorded by name and never by value.

Dependencies and configuration checked

  • A software bill of materials of the source tree and of the built modules, matched offline against known vulnerabilities
  • Libraries that a module embeds, such as Jackson, Apache Commons, Groovy, XStream, Apache HttpClient and XML libraries
  • A reachability check that tells whether custom code calls the vulnerable part of each dependency
  • The npm packages of JavaScript modules, such as @jahia/javascript-modules-library, @jahia/ui-extender and React, with every package in the lock file
  • Third-party JavaScript that a module ships to the browser
  • The Jahia version and the versions of the Jahia store modules that the custom code calls, against the published Jahia security patches
  • The API authorization files of the Jahia security filter and the GraphQL permission rules
  • The JWT and personal API token configuration
  • The CSRF guard settings and the access rules on /tools and module JSP files
  • The authentication valve order and the SAML, OIDC and LDAP settings
  • The roles, permissions and ACLs that each module ships
  • Secrets in OSGi configurations and properties files, recorded by name and never by value

Typical findings

The same scanner audited the Jahia platform itself and found hundreds of vulnerabilities that Jahia then fixed, in the categories below.

  • Stored and reflected cross-site scripting in views and administration pages
  • Missing authorization on GraphQL fields, REST resources, actions and administration flows
  • Privilege escalation through role grants, ACL changes and system sessions
  • Server-side request forgery through outbound calls and mount points
  • JCR query and SQL injection
  • Script and expression injection, including the Spring Web Flow fix of the July 2026 Jahia patch
  • Path traversal in archive extraction, file serving and imports
  • Resource exhaustion and vulnerable third-party libraries

Frequently asked questions about Jahia

What is in scope in a Jahia project?

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.

Does the scan cover Jahia JavaScript modules?

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.

Does the scan cover Jahia Cloud and on-premises sites?

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.

Why does a system session matter in Jahia custom code?

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.

How many vulnerabilities does a scan usually find?

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.

Does the scan send requests to my Jahia site?

No. The scan reads source code, configuration and built modules. Any live proof runs on a disposable local copy, never on a customer environment.

Other platforms

The same method, report and consultants apply to each platform.

Request a Jahia security scan

Tell us how to reach you. A CMS Security Consultant will contact you to plan your Jahia scan.