Study guide · Basics and attack patterns

How attacks on websites work and how TYPO3 protects itself

As of November 22, 2026 · TYPO3 14.3 LTS, OWASP Top 10:2025 · about 19 min read

Almost all attacks on websites follow a handful of patterns. Once you know them, you spot holes in your own code and understand why TYPO3 ships certain settings. Here you learn the most important types of attack, the protection mechanisms of TYPO3, the 2025 edition of the OWASP Top 10 and how attackers proceed. The running example is the online shop of a small coffee roastery running TYPO3 14.

The basic pattern: data turns into code

Most web vulnerabilities share the same pattern. Data from outside is treated like code or a command. An application trusts an input and lets it act as SQL, as HTML and JavaScript, or as template code. That is how SQL injection, cross-site scripting and template injection arise. The defence is always the same: keep data and code cleanly apart.

That is why an extension may trust no data from GET, POST or cookies without checking it. Everything the client sends can be manipulated: parameters, form fields, headers and cookies. Hidden form fields are only invisible in the browser. POST data does not appear in the URL, but it is just as freely chosen.

The browser's developer tools show this. In the network tab you inspect every request, with method, status code, headers and cookies. An attacker can change exactly this data. The tools do not show the code on the server. So the server must check everything itself.

Attacks through the browser

In cross-site scripting, XSS for short, injected script runs in the browser of other visitors. Data reaches the output of a page unfiltered, typically through comment or guestbook forms. The browser runs the JavaScript on behalf of the trusted domain.

  • In stored XSS the payload is saved, for example in a comment or a profile. It is delivered again on every page view and hits every later visitor. That makes this variant particularly dangerous.
  • In reflected XSS the payload sits in the URL. The victim has to open a crafted link.
  • In DOM-based XSS the hole arises purely in the browser's JavaScript.

If XSS hits an admin session in the TYPO3 backend, the script runs with the admin's rights in the browser. It can act on behalf of the admin, for example create new users, and steal tokens and data from the backend interface. XSS does not give direct database access that bypasses the browser, though. If the script sends the session ID to a foreign server, this is called session hijacking via XSS.

Cross-site request forgery, CSRF for short, needs no script on the target page. A foreign page makes the victim's browser trigger an action. The browser sends the session cookies along automatically and so uses the existing login. The countermeasure is a secret token that only your own site knows and that the server checks on every request that changes something.

In clickjacking the attacker places the target page invisibly in an iframe. The victim unknowingly clicks into it and triggers actions. The header X-Frame-Options or the frame-ancestors directive of the content security policy helps against this.

Attacks on the server

In SQL injection the attacker sends their own SQL statements to the database. Their input becomes part of the SQL command instead of pure data. That way they read other tables, such as users and password hashes, or change content, up to new administrator accounts.

In local file inclusion, LFI for short, an unchecked input decides which local file the server includes. This exposes configuration files with passwords or keys, or it runs code. In remote file inclusion, RFI for short, the file comes from a foreign server.

In server-side request forgery, SSRF for short, the server itself sends requests to targets the attacker chooses. A typical case is a link preview: the user enters a URL, and the server also requests internal addresses that would not be reachable from outside.

An authentication bypass arises from flawed login logic. If an application checks the login only in the browser or in the wrong place, it can be bypassed. The authentication of the TYPO3 Core is reviewed and tested. If a third-party extension replaces the login with its own, these Core services are bypassed. Security then depends solely on the quality of that extension, because the Core does not check it.

Information disclosure means that a system unintentionally reveals data or system details. That can be customer data, but also paths, version numbers or configuration in error messages. Such details help attackers prepare a targeted attack.

In identity theft attackers aim at personal data: customer lists, email addresses and credentials, order histories and payment information. They use it for fraud or blackmail. The server must be secured so that no such data leaks without the operator's consent.

Read on

You can read the introduction and the first 3 of 9 sections here for free. There are two ways to get the whole learning page:

Free with a confirmed e-mail address

Sign up with your e-mail address and confirm it. You can then unlock the learning pages of one set of your choice completely, once, in the browser or in the app.

Unlock for free

Buy the course

The course includes all its questions and the whole learning page.

View the course
These 6 sections are still missing
  1. Cookies, headers and HTTPS
  2. The OWASP Top 10:2025
  3. How attackers proceed
  4. Naming and rating vulnerabilities
  5. Defence in depth
  6. Key points

Qwissit is also available as an app for iPhone and Android:

As of: November 22, 2026 (TYPO3 14.3 LTS, OWASP Top 10:2025)

Sources:

  • TYPO3 Explained 14.3, chapter Security (General guidelines, Guidelines for administrators, integrators, editors and extension developers, Types of threats)
  • Source code TYPO3 14.3 (typo3/cms-core), DefaultConfiguration.php and middleware AdditionalResponseHeaders
  • OWASP Top 10:2025 (top10.owasp.org/2025) and OWASP Application Security Verification Standard
  • Lockheed Martin Cyber Kill Chain and MITRE ATT&CK
  • CVE Program and Common Vulnerability Scoring System (FIRST)
  • TYPO3 Security Advisories TYPO3-CORE-SA-2023-001 and TYPO3-EXT-SA-2024-006

This study guide was written with AI and compared with the sources.

Certifications & exams

Which exam comes next?

You can already practise for 60 exams, and 7 are up for a vote. See all certifications with their official information, cast your vote or suggest your exam.

See all certifications