Skip to content
EnglishFrançais

CMS Security Audit, SAST and penetration test compared

Many teams already run a SAST tool or order a penetration test. This page shows what each method covers, what it finds and what it misses.

The CMS Security Scanner is specialized in the integrations of five CMS and DXP platforms: Drupal, Jahia, Liferay, Adobe Experience Manager and Sitecore.

See the comparison tableRequest a scan

Last reviewed on

What each method covers

The table shows what each method does on a CMS site.

What a SAST tool, a penetration test and the CMS Security Audit cover
SAST toolPenetration testCMS Security Audit
Reads your source codeSAST toolYesPenetration testNoCMS Security AuditYes
Is specialized in CMS integrationsSAST toolPartlyDepends on its rulesPenetration testPartlyDepends on the testerCMS Security AuditYesFive CMS and DXP platforms
Leverages AISAST toolNoPenetration testHopefully :)CMS Security AuditYes
Inventories every entry point, permission and dependencySAST toolPartlyWhat its rules coverPenetration testPartlyWhat the tester reachesCMS Security AuditYes
Reviews every path in the codeSAST toolPartlyKnown patterns1Penetration testPartlyA sample of the paths2CMS Security AuditYes100% of the paths
Verifies the permission checksSAST toolPartlyDifficult with rules1Penetration testPartlyFrom outside onlyCMS Security AuditYes
Finds missing checks, attack chains and logic flawsSAST toolPartlyDifficult with rules1Penetration testPartlyLimited by test timeCMS Security AuditYesSee the types
Proves a finding with a real attackSAST toolNoPenetration testYesOn the running siteCMS Security AuditYesOn a private copy
Tests your hosting and your networkSAST toolNoPenetration testYesCMS Security AuditNoConfiguration files only

How the CMS Security Audit covers your code

The CMS Security Scanner is specialized in the integration code of Drupal, Jahia, Liferay, Adobe Experience Manager and Sitecore. It reads all your code first, and AI agents then review every path that the code contains.

  1. Step 1Inventory

    The scanner lists every entry point, every permission check, every dangerous operation and every dependency of your code.

  2. Step 2Code graph

    The scanner builds a graph of every path that data can take from an entry point to a dangerous operation.

  3. Step 3Review by AI agents

    AI agents review 100% of the paths in the graph. Each agent verifies that the checks on a path hold, also for complex or unexpected combinations of conditions.

100%
of the code paths reviewed by AI agents
3,000+
real-world vulnerabilities used to train the scanner

The 3,000 vulnerabilities are public CVEs and real vulnerabilities in Jahia, Adobe Experience Manager, Liferay, Drupal and custom integrations.

See the scan phase by phase

Vulnerabilities that rules and outside tests often miss

Jahia confirmed each type below in its audits of the Jahia platform and of custom DXP code. A SAST rule or a test from outside finds these types with difficulty.

Permission flaws

  • Missing permission check

    An action, a servlet or an API runs without a permission check. A rule finds no dangerous call, because the flaw is a check that is absent.

  • Missing ownership check

    An API takes an identifier from the request and never compares it with the caller. A test from outside needs two accounts on every endpoint to see the flaw.

  • Privileged session

    The code serves the request of a visitor with a system session, so the repository ignores the rights of the visitor. The call is a normal platform API, and the response looks normal.

  • Check in the wrong place

    The page checks the permission and the action behind the page does not, or a guard never runs. A check exists in the code, so a rule passes.

  • Privilege escalation through roles

    A limited role obtains a wider role. The flaw is in the role data and in the meaning of each role, with no code pattern to match.

Flaws that cross modules

  • Stored content that runs elsewhere

    An editor saves a value in one module, and another module later puts the value in a query or in the screen of an administrator. The write and the read sit in different modules, requests and roles.

  • Cache that serves the response of another user

    A cached page holds the data of one user, and the cache key has no user part. The flaw shows only with two users and a precise cache state.

  • Attack chains

    Several findings combine into one attack that is more severe than each finding alone. A chain has three to six steps across modules and roles.

Logic and configuration flaws

  • Login, SSO and second-factor logic

    A second login path, an identity claim that no code verifies or a token that stays valid defeats the login design. No dangerous call exists, and a test needs an identity provider.

  • Configuration that opens access

    A Dispatcher filter, a cache rule, a CSRF exemption or an ACL package weakens a control that the code applies correctly. The effect depends on the order of the rules and on the platform defaults.

  • Business logic

    The server takes a price or a status from the request and never computes the value again. The code is valid, and only the business rule is broken.

What the other methods find well. A SAST tool finds an unescaped output in a template, a query built by concatenation, a hardcoded secret and a vulnerable dependency. A penetration test finds a reflected XSS, a missing security header and a flaw in the URL handling of the server.

OWASP lists access control, authentication and configuration among the problems that SAST tools find with difficulty.1

Comparison table

The statements about SAST tools and penetration tests come from OWASP. The numbers refer to the sources at the end of the page.

SAST toolStatic application security testingPenetration testBlack-box test of the running siteCMS Security AuditAI scan and consultant review
What it coversThe source code or the compiled code, without running the application.1The running site, from outside, without knowledge of the code.2The source code, the configuration and the built artifacts of your custom modules.
Who does the workA tool, in the editor of the developer or in the build pipeline.1Testers who act as attackers.2AI agents read the code, and a CMS Security Consultant checks each finding.
What it findsWell-known patterns such as SQL injection, with the file and the line.1Vulnerabilities in the code that the site exposes.2Paths from an entry point to a dangerous operation, with access control and platform configuration.
What it does not coverMany authentication and access control problems, and configuration that is not in the code.1The paths that the tester does not reach. A test finds a sample of the risks.2The hosting, the network and the vendor product. The audit covers custom code on five platforms.
Proof of a findingA rule match. A person must confirm that the match is a real vulnerability.1An exploit on the running site.The path in the code, or an attack replayed on a private copy of your site.
Requests to productionNoneYesNone
What you receiveAlerts in the editor or in the pipeline.A test report.A report with one fiche per cause: CVSS 3.1 score, evidence, affected files and fix steps.
When it runsOn every commit or every build.1On the deployed site, late in the development cycle.2Before a major release or a migration. The report arrives within one week. Always-on Security scans each release.

Details of each method

Static application security testing

SAST tool

A SAST tool analyzes the source code of an application without running it. SonarQube, Checkmarx, Snyk Code and Semgrep are examples. The tool runs in the editor of the developer or in the build pipeline.

Use cases

  • Check every commit against known vulnerability patterns.
  • Show a developer the file and the line of a pattern.
  • Block a build that contains a known pattern.

Limits

  • Many authentication and access control problems.1
  • Configuration that is not in the code.1
  • Proof that an alert is a real vulnerability.1

Black-box test

Penetration test

In a penetration test, a tester attacks the running site as an attacker does, without knowledge of the code. The tester often receives one or more valid accounts. The test covers what the site exposes on the days of the test.

Use cases

  • Test the deployed site, with its hosting and its network.
  • Confirm on the live site that a fix works.2
  • Meet a contract or a standard that asks for a penetration test.

Limits

  • The code paths that the tester does not reach.2
  • The file and the line that cause a vulnerability.
  • Early feedback, because the test comes late in the development cycle.2

AI scan and consultant review

CMS Security Audit

The CMS Security Audit is a review of the source code of your custom modules. The AI agents of the CMS Security Scanner list every entry point and follow the data to each dangerous operation. A CMS Security Consultant checks each finding before the report.

Use cases

  • Review every entry point of your custom modules before a major release or a migration.
  • Find access control and configuration vulnerabilities that need knowledge of the platform.
  • Give your developers the evidence, the files and the fix steps for each cause.

Limits

  • The hosting, the network and the firewall of the production site.
  • Vulnerabilities in the vendor product itself.
  • Platforms other than Jahia, Adobe Experience Manager, Sitecore, Liferay and Drupal.

How the scan works

When to use each method

OWASP recommends the use of several testing techniques together.2 The timeline shows one way to combine the methods, from the most frequent check to the least frequent.

  1. Every commitSAST tool

    The tool flags known patterns while the developer writes the code.

  2. Every releaseAlways-on Security

    Your pipeline sends each release to the CMS Security Scanner.

  3. Before a major release or a migrationCMS Security Audit

    The audit reviews every entry point of the custom code and gives the fix steps for each cause.

  4. At a regular intervalPenetration test

    The test attacks the deployed site and confirms that the fixes work in production.

Frequently asked questions

Does the CMS Security Audit replace a penetration test?

No. The audit reads the code, and a penetration test attacks the deployed site with its hosting and its network. The audit sends no request to your production site. You still need a penetration test to test the deployed site.

We already run a SAST tool in our pipeline. What does the CMS Security Audit add?

A SAST tool applies rules to the code on every commit. The audit lists every entry point of your custom modules, follows each path to a dangerous operation and reads the platform configuration, such as the access rules. A CMS Security Consultant then checks each finding before it goes in the report.

Which method finds access control vulnerabilities?

OWASP lists access control problems among the issues that a source code review finds well, and among the issues that SAST tools find difficult to automate. A penetration test finds the access control vulnerabilities that the tester reaches with the accounts of the test.

Does the CMS Security Audit send requests to our production site?

No. The scanner reads source code, configuration and built artifacts. A CMS Security Consultant replays an attack only on a private copy of your site.

Can a penetration test use the audit report?

Yes. Each fiche names the entry point and the affected files, so a tester can target the same paths on the deployed site. The tester then confirms that each fix works in production.

Sources

  1. OWASP, Source Code Analysis Tools: the strengths and the weaknesses of SAST tools.
  2. OWASP, Web Security Testing Guide, version 4.2, Introduction: source code review, penetration testing and the balanced approach.

Jahia consulted both sources on 21 November 2026.

Request a scan

Tell us which CMS you run and how to reach you. A CMS Security Consultant will contact you to plan the scan.