Web Applications
How the agent inventories WordPress, Joomla and Nextcloud installations with their plugins, themes, extensions and apps, how to configure the web roots, and how to use the Web Applications page and the webapp filter of the findings queue.
What Is Inventoried
The webapps collector of the agent searches the configured web roots for CMS installations. Every instance contributes its core and its plugins, themes, extensions or apps to the software inventory as components, with dedicated ecosystems. All the components of an instance have the instance root as path (absolute, symlinks resolved); the directory of each plugin, theme, extension or app is kept in details.install_location.
- wordpress: the WordPress core (name wordpress); wordpress-plugin and wordpress-theme: plugins and themes, named by their slug (the directory name)
- joomla: the Joomla core; joomla-extension: components, modules, plugins, templates and packages, named by their canonical element (com_akeeba, mod_custom, plg_system_foo, tpl_cassiopeia, pkg_akeeba)
- nextcloud: the Nextcloud server core; nextcloud-app: apps, named by their <id>
- Versions are reported as read from the files, trimmed; an entry without a version is skipped and counted as malformed
- The components appear in Components (filter the type, e.g. ecosystem=wordpress-plugin) like any other package
Detection
Files are only read (at most 1 MiB each, the plugin and theme headers within their first 8 KiB): no PHP, wp-cli or occ is ever run and no site is contacted over HTTP.
- WordPress: a directory with wp-includes/version.php; the core version comes from $wp_version. Plugins: in every directory of wp-content/plugins/, the first top-level *.php file (by name) whose header has Plugin Name:, with the Version: header; single-file plugins such as wp-content/plugins/hello.php count too (slug hello). Themes: wp-content/themes/*/style.css with Theme Name: and Version:
- Joomla: a directory with administrator/manifests/files/joomla.xml (<version>). Extensions come from the <extension> (or Joomla 1.5 <install>) manifests of administrator/components/com_*, components/com_*, modules/mod_*, administrator/modules/mod_*, plugins/<group>/<name>, templates/*/templateDetails.xml, administrator/templates/*/templateDetails.xml and administrator/manifests/packages/*.xml
- Nextcloud: a directory with version.php holding $OC_VersionString and an apps/ directory; apps come from apps/*/appinfo/info.xml and custom_apps/*/appinfo/info.xml. An instance whose $vendor is not nextcloud (e.g. ownCloud) is ignored
- Once an instance is found the collector does not descend into it: a nested instance is never read twice
Agent Configuration
The webapps section of the agent configuration controls the collector. It is enabled by default.
- webapps.enabled (default true); with false the report has one skipped packages:webapps coverage entry ("disabled by configuration")
- webapps.roots: default /var/www, /srv and /usr/share/nginx on Linux, C:\inetpub on Windows; roots that are not absolute are ignored with a warning
- webapps.excludes: absolute directories or globs on directory names; they apply inside an instance too (plugin, theme, extension or app directories)
- webapps.max_depth (default 6), webapps.max_dirs (default 100000), webapps.time_budget_seconds (default 60)
- Coverage: packages:<ecosystem>:<root> for every root and each of the 7 ecosystems. Root not found: ok; excluded or on a network or pseudo filesystem: skipped; unreadable: failed; limits hit or malformed manifests: partial. A component disappears from the inventory only when its scope is ok; with partial it stays, marked stale
webapps:
enabled: true
roots: ["/var/www", "/srv", "/usr/share/nginx"]
excludes: ["/var/www/backup", "cache"]
max_depth: 6
max_dirs: 100000
time_budget_seconds: 60Limits
What the collector deliberately does not do.
- A custom WP_CONTENT_DIR (wp-content moved elsewhere) is not supported: plugins and themes are only searched under <instance>/wp-content
- Joomla core extensions (<author>Joomla! Project</author>) are excluded: they are covered by the core version
- Symlinks are never followed and wp-config.php is never read
- Network mounts and pseudo filesystems are skipped, as for the language packages, also below an instance root
- At most 20000 web application components per report
Vulnerability Matching
The task match_cves_to_assets (every hour) turns the CMS components into findings. Coverage is limited: only WordPress (core, plugins and themes) and the Joomla and Nextcloud cores are evaluated.
- WordPress: core, plugins and themes are matched by the component matcher (source osv) against the Wordfence Intelligence advisories (see Vulnerability Feeds, /docs/security/vulnerability-feeds), by slug and with the PHP version_compare ordering. Findings show the installed and fixed version (advisory_source WordPress, WordPress-Plugin or WordPress-Theme); a plugin update resolves them at the next run. Wordfence needs SECURITY_WORDFENCE_API_KEY or an offline import_feed wordfence bundle
- Joomla and Nextcloud cores: evaluated against the NVD CPE ranges of cpe:2.3:a:joomla:joomla! and cpe:2.3:a:nextcloud:nextcloud_server, with findings of source nvd-cpe (advisory_source nvd, fixed version from versionEndExcluding). An upgrade or the removal of the core resolves them, unless its evidence is stale
- Not evaluated: Joomla extensions (joomla-extension) and Nextcloud apps (nextcloud-app); no feed covers them
- CPEs without a version constraint (any version of the product) are ignored: NVD often lists them for old CVEs, and they would open historical CVEs on every instance
- Joomla and Nextcloud need a complete NVD database (see Vulnerability Feeds): a CVE that is not in the local NVD copy cannot be matched
- The findings appear in the Web Applications page (CVEs, alerts and severity badges of the instance) and in the queue with webapp=wordpress|joomla|nextcloud
Web Applications Page
The Web Applications page (/dashboard/security/webapps, "Web Applications" in the sidebar) shows one row per CMS type found in the inventory.
- Cards: applications, instances, applications with vulnerabilities and total alerts
- Table: application, core versions, instances, servers, extensions, CVEs and severity badges; expand a row to see its instances (server, path, version, extensions and alerts)
- A severity badge opens the findings queue filtered with webapp=<type>&severity=<severity>; on an instance it also adds asset_uid and path. For an instance inside a container asset_uid is the container (where components and findings live), while the Server column shows its host
- The extensions count of an instance opens Components filtered by asset_uid and path
- Filters (type and search on server name or instance path) live in the URL; the search applies on Enter or after a short pause

Queue Filter and API
The findings queue accepts webapp=wordpress|joomla|nextcloud: only findings whose details.ecosystem belongs to that CMS (core and extensions) are shown. The filter is also applied to the export and to bulk actions by filter, and shows as a "Web app" chip. Any other value returns 400.
- GET /api/v1/software/webapps/: paginated rows with type, label, versions, instance_count, server_count, servers (at most 10), extension_count, alerts, cves, severity_counts and instances (at most 200). Filters: type and search
- GET /api/v1/software/webapps/summary/: {"apps", "instances", "apps_with_vulnerabilities", "alerts"} with the same filters